Overview
Features
Download
Documentation
Community
Add-Ons & Services

Errors when building 1.4.6 with C++11

A general discussion forum.

Errors when building 1.4.6 with C++11

Postby arielm » 29 Aug 2013, 22:17

When building with
Code: Select all
./configure --config=Darwin32-clang-libc++ --no-tests --no-samples
make -s -j4

Ten errors of the following kind occur:
Code: Select all
src/NumberFormatter.cpp:248:26: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
        std::sprintf(buffer, "%"I64_FMT"d", value);

Solution: replacing the all instances of "I64_FMT" by " I64_FMT " (including quotes) in Foundation/src/NumberFormatter.cpp
arielm
 
Posts: 3
Joined: 29 Aug 2013, 10:05

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron