You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2008/07/11 00:48:31 UTC
[jira] Created: (STDCXX-990) [gcc 4.3 -std=c++0x] error on va_copy
in test driver
[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
Environment: gcc 4.3.0 with -std=c++0x
Reporter: Martin Sebor
Assignee: Martin Sebor
Priority: Blocker
Fix For: 4.3
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.
[jira] Updated: (STDCXX-990) [gcc 4.3 -std=c++0x] error on va_copy
in test driver
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Resolved: (STDCXX-990) [gcc 4.3 -std=c++0x] error on va_copy
in test driver
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Sebor resolved STDCXX-990.
---------------------------------
Resolution: Fixed
Resolved with [r675803|http://svn.apache.org/viewcvs?view=rev&rev=675803].
Will close after verifying in nightly builds.
> [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
> Environment: gcc 4.3.0 with -std=c++0x
> Reporter: Martin Sebor
> Assignee: Martin Sebor
> Priority: Blocker
> Fix For: 4.3
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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.
[jira] Commented: (STDCXX-990) [gcc 4.3 -std=c++0x] error on
va_copy in test driver
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612682#action_12612682 ]
Martin Sebor commented on STDCXX-990:
-------------------------------------
Looks like a gcc [bug|http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36799].
> [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
> Environment: gcc 4.3.0 with -std=c++0x
> Reporter: Martin Sebor
> Assignee: Martin Sebor
> Priority: Blocker
> Fix For: 4.3
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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.