You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2007/11/08 02:45:56 UTC

[jira] Commented: (STDCXX-652) 23.vector.stdcxx-611 fails to compile on most platforms

    [ https://issues.apache.org/jira/browse/STDCXX-652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12540945 ] 

Martin Sebor commented on STDCXX-652:
-------------------------------------

Confirmed. Here's an example command line that's missing from the description of the problem:

$ make 23.vector.stdcxx-611
eccp -A -x --template_directory=/build/sebor/stdcxx-eccp-3.9-11s/lib -g   --display_error_number --remarks --diag_suppress 193,236,340,401,261,479,487,678,679,815  -I/home/sebor/stdcxx/include/ansi -D_RWSTDDEBUG    -I/home/sebor/stdcxx/include -I/build/sebor/stdcxx-eccp-3.9-11s/include -I/home/sebor/stdcxx/tests/include  -L/build/sebor/stdcxx-eccp-3.9-11s/rwtest -lrwtest11s --template_directory=/build/sebor/stdcxx-eccp-3.9-11s/lib    -L/build/sebor/stdcxx-eccp-3.9-11s/lib   /home/sebor/stdcxx/tests/regress/23.vector.stdcxx-611.cpp /build/sebor/stdcxx-eccp-3.9-11s/lib/libstd11s.a /build/sebor/stdcxx-eccp-3.9-11s/rwtest/librwtest11s.a  -lstd11s  -lm -o 23.vector.stdcxx-611
"/home/sebor/stdcxx/tests/regress/23.vector.stdcxx-611.cpp", line 38: error #811: 
          const variable "s" requires an initializer -- class "S" has no
          explicitly declared default constructor
      const S s [3];
                   ^

1 error detected in the compilation of "/home/sebor/stdcxx/tests/regress/23.vector.stdcxx-611.cpp".
make: *** [23.vector.stdcxx-611] Error 2


> 23.vector.stdcxx-611 fails to compile on most platforms
> -------------------------------------------------------
>
>                 Key: STDCXX-652
>                 URL: https://issues.apache.org/jira/browse/STDCXX-652
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 4.2
>            Reporter: Travis Vitek
>             Fix For: 4.2.1
>
>
> The type S needs a default constructor, or the const on the array declaration needs to be removed, or we need to add an explicit initializer.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.