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] Updated: (STDCXX-990) [gcc 4.3 -std=c++0x] error on va_copy in test driver
Date Thu, 10 Jul 2008 23:20:31 GMT

     [ https://issues.apache.org/jira/browse/STDCXX-990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Martin Sebor updated STDCXX-990:
--------------------------------

    Affects Version/s:     (was: 4.3.0)
                       4.3.x
        Fix Version/s:     (was: 4.3.0)
                       4.3.x

Since 4.3.0 hasn't been released yet changed Affects/Fix Versions from [4.3.0|https://issues.apache.org/jira/browse/STDCXX/fixforversion/12312692]
to [4.3.x|https://issues.apache.org/jira/browse/STDCXX/fixforversion/12313304].

> [gcc 4.3 -std=c++0x] error on va_copy in test driver
> ----------------------------------------------------
>
>                 Key: STDCXX-990
>                 URL: https://issues.apache.org/jira/browse/STDCXX-990
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Test Driver
>    Affects Versions: 4.3.x
>         Environment: gcc 4.3.0 with -std=c++0x
>            Reporter: Martin Sebor
>            Assignee: Martin Sebor
>            Priority: Blocker
>             Fix For: 4.3.x
>
>   Original Estimate: 1h
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> Test test driver file [char.cpp|http://svn.apache.org/viewvc/stdcxx/branches/4.3.x/tests/src/char.cpp?revision=664271&view=markup]
fails to compile with gcc 4.3 with the [-std=c++0x|http://gcc.gnu.org/onlinedocs/gcc-4.3.0/gcc/C-Dialect-Options.html#index-std-99]
option:
> {noformat}
> $ make -C../rwtest CXXOPTS="-Wno-parentheses"
> make: Entering directory `/build/sebor/stdcxx-4.3.x-gcc-4.3.0-15D/rwtest'
> gcc -c -I/home/sebor/stdcxx-4.3.x/include/ansi -D_RWSTDDEBUG   -pthread -I/home/sebor/stdcxx-4.3.x/include
-I/build/sebor/stdcxx-4.3.x-gcc-4.3.0-15D/include -I/home/sebor/stdcxx-4.3.x/tests/include
 -pedantic -nostdinc++ -g -std=c++0x -W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings
-Wno-long-long -Wcast-align -Wno-parentheses  /home/sebor/stdcxx-4.3.x/tests/src/char.cpp
> /home/sebor/stdcxx-4.3.x/tests/src/char.cpp: In static member function 'static size_t
UserTraits<UserChar>::length(const UserChar*)':
> /home/sebor/stdcxx-4.3.x/tests/src/char.cpp:369: warning: suggest a space before ';'
or explicit braces around empty body in 'for' statement
> /home/sebor/stdcxx-4.3.x/tests/src/char.cpp: In static member function 'static UserChar*
UserTraits<UserChar>::assign(UserChar*, size_t, UserChar)':
> /home/sebor/stdcxx-4.3.x/tests/src/char.cpp:436: warning: suggest a space before ';'
or explicit braces around empty body in 'for' statement
> /home/sebor/stdcxx-4.3.x/tests/src/char.cpp: In function 'char* rw_narrow(char*, const
wchar_t*, size_t)':
> /home/sebor/stdcxx-4.3.x/tests/src/char.cpp:900: warning: suggest a space before ';'
or explicit braces around empty body in 'for' statement
> /home/sebor/stdcxx-4.3.x/tests/src/char.cpp: In function 'size_t rw_match(const char*,
const wchar_t*, size_t)':
> /home/sebor/stdcxx-4.3.x/tests/src/char.cpp:938: warning: suggest a space before ';'
or explicit braces around empty body in 'for' statement
> /home/sebor/stdcxx-4.3.x/tests/src/char.cpp: In function 'char* rw_narrow(char*, const
UserChar*, size_t)':
> /home/sebor/stdcxx-4.3.x/tests/src/char.cpp:1049: warning: suggest a space before ';'
or explicit braces around empty body in 'for' statement
> /home/sebor/stdcxx-4.3.x/tests/src/char.cpp: In function 'size_t rw_match(const char*,
const UserChar*, size_t)':
> /home/sebor/stdcxx-4.3.x/tests/src/char.cpp:1087: warning: suggest a space before ';'
or explicit braces around empty body in 'for' statement
> /home/sebor/stdcxx-4.3.x/tests/src/char.cpp: In function 'int _rw_fmtstringv(char**,
size_t*, const char*, __va_list_tag*)':
> /home/sebor/stdcxx-4.3.x/tests/src/char.cpp:1197: error: 'va_copy' was not declared in
this scope
> /home/sebor/stdcxx-4.3.x/tests/src/char.cpp:1224: error: 'va_copy' was not declared in
this scope
> /home/sebor/stdcxx-4.3.x/tests/src/char.cpp:1245: error: 'va_copy' was not declared in
this scope
> /home/sebor/stdcxx-4.3.x/tests/src/char.cpp:1251: error: 'va_copy' was not declared in
this scope
> make: *** [char.o] Error 1
> make: Leaving directory `/build/sebor/stdcxx-4.3.x-gcc-4.3.0-15D/rwtest'
> {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