]> www.ginac.de Git - ginac.git/blobdiff - ginac/class_info.h
* Fix GCC-4.3 compilation issue.
[ginac.git] / ginac / class_info.h
index 8e86d63286e018139fe204139152ed53a22884c5..df0992f15824b9dd631cf6d1141ee160c7af1c45 100644 (file)
@@ -3,7 +3,7 @@
  *  Helper templates to provide per-class information for class hierarchies. */
 
 /*
- *  GiNaC Copyright (C) 1999-2005 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2007 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -24,6 +24,7 @@
 #define __GINAC_CLASS_INFO_H__
 
 #include <cstddef> // for size_t
+#include <cstring>
 #include <vector>
 #include <map>
 #include <string>
@@ -179,7 +180,7 @@ void class_info<OPT>::identify_parents()
                for (class_info *p = first; p; p = p->next) {
                        const char *parent_name = p->options.get_parent_name();
                        for (class_info *q = first; q; q = q->next) {
-                               if (strcmp(q->options.get_name(), parent_name) == 0) {
+                               if (std::strcmp(q->options.get_name(), parent_name) == 0) {
                                        p->parent = q;
                                        break;
                                }