You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Benjamin Hindman (JIRA)" <ji...@apache.org> on 2014/02/04 04:08:10 UTC
[jira] [Resolved] (MESOS-966) symbolize.cc:235:58: error: invalid
suffix on literal; C++11 requires a space between literal and identifier
[ https://issues.apache.org/jira/browse/MESOS-966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Hindman resolved MESOS-966.
------------------------------------
Resolution: Won't Fix
This is an issue with glog itself and apparently only an issue on with clang on Linux since we haven't seen this with clang on OS X (at least not with clang 3.3).
> 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)