Bug 128 - possible gcc-3.4 problem with optimized build
possible gcc-3.4 problem with optimized build
Status: RESOLVED DUPLICATE of bug 142
Product: ns-3
Classification: Unclassified
Component: core
pre-release
All All
: P3 normal
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-01-11 18:19 UTC by Tom Henderson
Modified: 2008-07-01 13:32 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Henderson 2008-01-11 18:19:20 UTC
optimized build fails on a cygwin system with gcc-3.4 (debug build is OK, though).  seems to be more a gcc version issue than cygwin?  Cygwin optimized build used to work a couple of releases ago.

[139/385] * cpp : src/core/default-value.cc -> build/optimized/src/core/default-value.o
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_list.h: In member function `void ns3::EnumDefaultValue<T>::AddPossibleValue(T, const std::string&) [with T = ns3::MyEnum]':
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_list.h:435: warning: '__p' might be used uninitialized in this function
Compilation failed 
FAILURE: waf -d optimized configure:  building failed on ns-cygwin
Comment 1 Tom Henderson 2008-02-27 00:38:04 UTC

*** This bug has been marked as a duplicate of bug 142 ***