stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (STDCXX-330) compile of 22.locale.money.put.cpp fails with Sun C++ compiler
Date Thu, 01 Feb 2007 02:53:05 GMT

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

Martin Sebor resolved STDCXX-330.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 4.2

Fixed on trunk in rev 495359: http://svn.apache.org/viewvc?view=rev&revision=495359

> compile of 22.locale.money.put.cpp fails with Sun C++ compiler
> --------------------------------------------------------------
>
>                 Key: STDCXX-330
>                 URL: https://issues.apache.org/jira/browse/STDCXX-330
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 4.1.3
>         Environment: SunOS 5.9
>            Reporter: Mukesh Kapoor
>            Priority: Minor
>             Fix For: 4.2
>
>
> Compile of 22.locale.money.put.cpp fails with the message:
> "stdcxx-4.1.3/tests/localization/22.locale.money.put.cpp", line 332: Error: The function
"sprintf" must have a prototype.
> "stdcxx-4.1.3/tests/localization/22.locale.
> money.put.cpp", line 419:     Where: While instantiating "type_test<char>(int,
char, long double, const char*, char, int, int, int, const char*, const char*)".
> "stdcxx-4.1.3/tests/localization/22.locale.money.put.cpp", line 419:     Where: Instantiated
from ldbl_test<char>(char).
> "stdcxx-4.1.3/tests/localization/22.locale.money.put.cpp", line 830:     Where: Instantiated
from non-template code.
> The fix is to use std::sprintf instead of sprintf

-- 
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