stdcxx-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <j...@apache.org>
Subject [jira] Commented: (STDCXX-1029) [gcc 4.3.1] build error: _RWSTD_SEEK_SET, CUR, END not defined in bitset.cpp
Date Sun, 04 Jan 2009 21:33:44 GMT

    [ https://issues.apache.org/jira/browse/STDCXX-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12660633#action_12660633
] 

Martin Sebor commented on STDCXX-1029:
--------------------------------------

The config test responsible for #defining these macros (among others) fails to compile with
the following error caused by gcc 4.3.1 bug [37405|http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37405]:

{noformat}
gcc -D_RWSTDDEBUG -pthread -I. -pedantic -nostdinc++ -g   \
    -W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align  -c
\
    /amd/homes/sebor/stdcxx-4.2.1/etc/config/src/UNISTD_DECL.cpp \
    -o UNISTD_DECL.o
In file included from /usr/include/fcntl.h:37,
                 from /amd/homes/sebor/stdcxx-4.2.1/etc/config/src/UNISTD_DECL.c
pp:28:
/amd/devco/contrib/linux/gcc-4.3.1/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.3.1
/include-fixed/sys/stat.h:345: error: expected initializer before '__wur'
{noformat}

> [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.x
>         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
>  Remaining Estimate: 2h
>
> 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.


Mime
View raw message