|
Bugzilla – Full Text Bug Listing |
| Summary: | Problem building /src/core/callback.cc | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | jframos45 |
| Component: | core | Assignee: | Mathieu Lacage <mathieu.lacage> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | ns-bugs |
| Priority: | P5 | ||
| Version: | pre-release | ||
| Hardware: | All | ||
| OS: | All | ||
b0f9d1408e41 thanks a lot |
The callback.cc file have next structure: namespace ns3 { ... #include <cxxabi.h> ... } With GCC 4.3.3, 4.4.0 and 4.4.4, there are a problem in the building: In file included from ../src/core/callback.cc:41: /bin/gcc/gcc-4.3.3/lib/gcc/ia64-suse-linux/4.3.3/../../../../include/c++/4.3.3/cxxabi.h:68: error: typedef 'ns3::__cxxabiv1::__cxa_cdtor_return_type' is initialized (use __typeof__ instead) /bin/gcc/gcc-4.3.3/lib/gcc/ia64-suse-linux/4.3.3/../../../../include/c++/4.3.3/cxxabi.h:68: error: '__cxa_cdtor_type' was not declared in this scope The solution is: #include <cxxabi.h> namespace ns3 { ... } I think.