Vinson Lee created MESOS-966:
--------------------------------

             Summary: 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)

Reply via email to