[ 
https://issues.apache.org/jira/browse/MESOS-271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13452278#comment-13452278
 ] 

John Sirois commented on MESOS-271:
-----------------------------------

To move mesos to c++11 will require isolating CXXFLAGS for mesos, 1st failure 
on a naive try is in glog:
{code}
 g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -Wwrite-strings 
-Woverloaded-virtual -Wno-sign-compare -DNO_FRAME_POINTER -DNDEBUG --std=c++11 
-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: In function ‘bool google::GetSectionHeaderByName(int, const 
char*, size_t, Elf64_Shdr*)’:
src/symbolize.cc:235:54: error: unable to find string literal operator 
‘operator"" PRIuS’
src/symbolize.cc:235:54: error: unable to find string literal operator 
‘operator"" PRIuS’
src/symbolize.cc:235:54: error: unable to find string literal operator 
‘operator"" PRIuS’
src/symbolize.cc:235:54: error: unable to find string literal operator 
‘operator"" PRIuS’
make[6]: *** [libglog_la-symbolize.lo] Error 1
make[6]: Leaving directory 
`/home/jsirois/development/3rdparty/mesos/build/third_party/libprocess/third_party/glog-0.3.1'
make[5]: *** [glog-0.3.1/libglog.la] Error 2
make[5]: Leaving directory 
`/home/jsirois/development/3rdparty/mesos/build/third_party/libprocess/third_party'
make[4]: *** [check] Error 2
make[4]: Leaving directory 
`/home/jsirois/development/3rdparty/mesos/build/third_party/libprocess/third_party'
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory 
`/home/jsirois/development/3rdparty/mesos/build/third_party/libprocess'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory 
`/home/jsirois/development/3rdparty/mesos/build/third_party'
make[1]: *** [check] Error 2
make[1]: Leaving directory 
`/home/jsirois/development/3rdparty/mesos/build/third_party'
make: *** [check-recursive] Error 1
{code}

                
> Get mesos compiling on gcc-4.7 to open up path forward to c++11
> ---------------------------------------------------------------
>
>                 Key: MESOS-271
>                 URL: https://issues.apache.org/jira/browse/MESOS-271
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: John Sirois
>            Assignee: John Sirois
>            Priority: Minor
>
> Get existing code compiling

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to