mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinson Lee (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (MESOS-966) symbolize.cc:235:58: error: invalid suffix on literal; C++11 requires a space between literal and identifier
Date Wed, 05 Feb 2014 19:32:10 GMT

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

Vinson Lee reopened MESOS-966:
------------------------------


Reopening bug.

Bug occurs with latest clang 3.5svn on Linux as well.

> symbolize.cc:235:58: error: invalid suffix on literal; C++11 requires a space between
literal and identifier
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: MESOS-966
>                 URL: https://issues.apache.org/jira/browse/MESOS-966
>             Project: Mesos
>          Issue Type: Bug
>          Components: build
>         Environment: Ubuntu 13.10
>            Reporter: Vinson Lee
>
> Build with clang.
> /bin/bash ./libtool  --tag=CXX   --mode=compile clang++ -DHAVE_CONFIG_H -I. -I./src 
-I./src    -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare  -DNO_FRAME_POINTER
 -DNDEBUG -DGTEST_USE_OWN_TR1_TUPLE=1 -g -g2 -O2 -std=c++11 -stdlib=libc++ -MT libglog_la-symbolize.lo
-MD -MP -MF .deps/libglog_la-symbolize.Tpo -c -o libglog_la-symbolize.lo `test -f 'src/symbolize.cc'
|| echo './'`src/symbolize.cc
> libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -Wwrite-strings
-Woverloaded-virtual -Wno-sign-compare -DNO_FRAME_POINTER -DNDEBUG -DGTEST_USE_OWN_TR1_TUPLE=1
-g -g2 -O2 -std=c++11 -stdlib=libc++ -MT libglog_la-symbolize.lo -MD -MP -MF .deps/libglog_la-symbolize.Tpo
-c src/symbolize.cc  -fPIC -DPIC -o libglog_la-symbolize.o
> src/symbolize.cc:235:58: error: invalid suffix on literal; C++11 requires a space between
literal and identifier [-Wreserved-user-defined-literal]
>       RAW_LOG(WARNING, "Section name '%s' is too long (%"PRIuS"); "
>                                                          ^



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message