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/08/26 00:01:30 UTC
[jira] Closed: (STDCXX-143) [Sun C++ 5.8/Solaris 10] sprintf
undeclared in 22.locale.money.put.cpp
[ https://issues.apache.org/jira/browse/STDCXX-143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Sebor closed STDCXX-143.
-------------------------------
Resolution: Fixed
Fixed thus: http://svn.apache.org/viewvc?view=rev&revision=495359
> [Sun C++ 5.8/Solaris 10] sprintf undeclared in 22.locale.money.put.cpp
> ----------------------------------------------------------------------
>
> Key: STDCXX-143
> URL: https://issues.apache.org/jira/browse/STDCXX-143
> Project: C++ Standard Library
> Issue Type: Bug
> Components: Tests
> Affects Versions: 4.1.3
> Environment: Sun C++ 5.8/Solaris 10/AMD
> Reporter: Martin Sebor
> Fix For: 4.2
>
>
> The 22.locale.money.put.cpp test fails to compile with Sun C++ 5.8 on Solaris 10:
> CC -c -D_RWSTDDEBUG -mt -D_RWSTD_USE_CONFIG -I/build/sebor/stdcxx-4.1.3-sunpro-5.8-15d/include -I/build/sebor/stdcxx-4.1.3/include -I/build/sebor/stdcxx-4.1.3/../rwtest -I/build/sebor/stdcxx-4.1.3/../rwtest/include -I/build/sebor/stdcxx-4.1.3/tests/include -library=%none -g +w /build/sebor/stdcxx-4.1.3/tests/localization/22.locale.money.put.cpp
> "/build/sebor/stdcxx-4.1.3/tests/localization/22.locale.money.put.cpp", line 332: Error: The function "sprintf" must have a prototype.
> "/build/sebor/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*)".
> "/build/sebor/stdcxx-4.1.3/tests/localization/22.locale.money.put.cpp", line 419: Where: Instantiated from ldbl_test<char>(char).
> "/build/sebor/stdcxx-4.1.3/tests/localization/22.locale.money.put.cpp", line 830: Where: Instantiated from non-template code.
> Error: Cannot continue processing because of prior errors.
> "/build/sebor/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*)".
> "/build/sebor/stdcxx-4.1.3/tests/localization/22.locale.money.put.cpp", line 419: Where: Instantiated from ldbl_test<char>(char).
> "/build/sebor/stdcxx-4.1.3/tests/localization/22.locale.money.put.cpp", line 830: Where: Instantiated from non-template code.
> Compilation aborted.
> gmake[2]: *** [22.locale.money.put.o] Error 1
> gmake[2]: Leaving directory `/build/sebor/stdcxx-4.1.3-sunpro-5.8-15d/tests'
> gmake[1]: [tests] Error 2 (ignored)
> gmake[1]: Leaving directory `/build/sebor/stdcxx-4.1.3-sunpro-5.8-15d'
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.