stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mukesh Kapoor (JIRA)" <>
Subject [jira] Created: (STDCXX-330) compile of fails with Sun C++ compiler
Date Thu, 01 Feb 2007 02:41:05 GMT
compile of fails with Sun C++ compiler

                 Key: STDCXX-330
             Project: C++ Standard Library
          Issue Type: Bug
          Components: Build
    Affects Versions: 4.1.3
         Environment: SunOS 5.9
            Reporter: Mukesh Kapoor
            Priority: Minor

Compile of fails with the message:

"stdcxx-4.1.3/tests/localization/", line 332: Error: The function "sprintf"
must have a prototype.
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/", line 419:     Where: Instantiated
from ldbl_test<char>(char).
"stdcxx-4.1.3/tests/localization/", 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.

View raw message