[ https://issues.apache.org/jira/browse/STDCXX-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Sebor reopened STDCXX-1029: ---------------------------------- As indicated in gcc bug #[37405 | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37405] the compiler error is due to an incorrect gcc installation. Reopening to revert committed changes. > [gcc 4.3.1] build error: _RWSTD_SEEK_SET, CUR, END not defined in bitset.cpp > ---------------------------------------------------------------------------- > > Key: STDCXX-1029 > URL: https://issues.apache.org/jira/browse/STDCXX-1029 > Project: C++ Standard Library > Issue Type: Bug > Components: Build and Installation > Affects Versions: 4.2.1 > Environment: gcc 4.3.1, Red Hat Enterprise Linux AS release 4 (Nahant > Update 4) > Reporter: Martin Sebor > Assignee: Martin Sebor > Fix For: 4.2.2 > > Original Estimate: 2h > Time Spent: 1h > Remaining Estimate: 1h > > stdcxx 4.2.x fails to build with gcc 4.3.1 with the following errors: > {noformat} > gcc -c -I/amd/homes/sebor/stdcxx-4.2.1/include/ansi \ > -D_RWSTDDEBUG -pthread \ > -I/amd/homes/sebor/stdcxx-4.2.1/include \ > -I/build/sebor/stdcxx-4.2.1-gcc-4.3.1-15D/include \ > -pedantic -nostdinc++ -g -W -Wall -Wcast-qual -Winline -Wshadow > -Wwrite-strings -Wno-long-long -Wcast-align -fPIC \ > /amd/homes/sebor/stdcxx-4.2.1/src/bitset.cpp > In file included from /amd/homes/sebor/stdcxx-4.2.1/include/string:39, > from /amd/homes/sebor/stdcxx-4.2.1/include/bitset:34, > from /amd/homes/sebor/stdcxx-4.2.1/src/bitset.cpp:31: > /amd/homes/sebor/stdcxx-4.2.1/include/rw/_iosfwd.h:176: error: > '_RWSTD_SEEK_SET' was not declared in this scope > /amd/homes/sebor/stdcxx-4.2.1/include/rw/_iosfwd.h:177: error: > '_RWSTD_SEEK_CUR' was not declared in this scope > /amd/homes/sebor/stdcxx-4.2.1/include/rw/_iosfwd.h:178: error: > '_RWSTD_SEEK_END' was not declared in this scope > make[2]: *** [bitset.o] Error 1 > make[2]: Leaving directory `/build/sebor/stdcxx-4.2.1-gcc-4.3.1-15D/lib' > make[1]: *** [lib] Error 2 > make[1]: Leaving directory `/build/sebor/stdcxx-4.2.1-gcc-4.3.1-15D' > make: *** [libstd] Error 2 > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.