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

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

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.


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

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/STDCXX-652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Sebor updated STDCXX-652:
--------------------------------

             Severity: Compiler Error  (was: Incorrect Behavior)
           Regression: [Unit Test Broken]
    Affects Version/s:     (was: 4.2)
                       trunk

The test is not in 4.2.0 so the issue only affects trunk and the head of branches/4.2.x.

> 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: trunk
>            Reporter: Travis Vitek
>            Assignee: Martin Sebor
>             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.


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

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/STDCXX-652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Sebor reassigned STDCXX-652:
-----------------------------------

    Assignee: Martin Sebor

> 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
>            Assignee: Martin Sebor
>             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.


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

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/STDCXX-652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Sebor closed STDCXX-652.
-------------------------------

    Resolution: Fixed

Fixed thus: http://svn.apache.org/viewvc?rev=592996&view=rev

> 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.x, trunk
>            Reporter: Travis Vitek
>            Assignee: Martin Sebor
>             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.