|
Bugzilla – Full Text Bug Listing |
| Summary: | Seg Faults in optimized builds due to missing Logging components | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | John Abraham <john.abraham.in> |
| Component: | core | Assignee: | Mathieu Lacage <mathieu.lacage> |
| Status: | RESOLVED FIXED | ||
| Severity: | blocker | CC: | ns-bugs |
| Priority: | P5 | ||
| Version: | pre-release | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
John Abraham
2011-08-11 05:54:33 UTC
NS3_LOG_ENABLE is not a property of how you build the ns-3 core. It is a property of how you build the user code that links against it. i.e., it controls whether or not the user code uses the builtin logging facility, not whether or not the logging facility is compiled in. So, a more useful fix in this case is to make NS_LOG_COMPONENT_DEFINE be defined correctly unconditionally and move it out of the NS3_LOG_ENABLE ifdef. changeset: dec79131f5f8 |