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/02/01 03:51:06 UTC
[jira] Updated: (STDCXX-330) compile of 22.locale.money.put.cpp
fails with Sun C++ compiler
[ https://issues.apache.org/jira/browse/STDCXX-330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Sebor updated STDCXX-330:
--------------------------------
Component/s: (was: Build)
Tests
> 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
>
> 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.