[MacPorts] #51828: openconnect-gui - C++11 requires a space between literal and identifier

MacPorts noreply at macports.org
Tue Jul 12 07:04:08 PDT 2016


#51828: openconnect-gui - C++11 requires a space between literal and identifier
------------------------------+-------------------------------
  Reporter:  peter@…          |      Owner:  bjorn.ketelaars@…
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.3.4
Resolution:                   |   Keywords:
      Port:  openconnect-gui  |
------------------------------+-------------------------------
Description changed by mf2k@…:

Old description:

> The first failure is at cert.cpp :
>
> :info:build
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
> -c -pipe -stdlib=libc++ -O2 -g -O2 -std=gnu++11 -isysroot
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
> -mmacosx-version-min=10.7 -Wall -W -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB
> -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I.
> -I/opt/local/libexec/qt5/lib/QtWidgets.framework/Headers
> -I/opt/local/libexec/qt5/lib/QtGui.framework/Headers
> -I/opt/local/libexec/qt5/lib/QtNetwork.framework/Headers
> -I/opt/local/libexec/qt5/lib/QtCore.framework/Headers -I.
> -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Headers
> -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AGL.framework/Headers
> -I. -I/opt/local/libexec/qt5/mkspecs/macx-clang
> -F/opt/local/libexec/qt5/lib -o cert.o cert.cpp
> :info:build In file included from editdialog.cpp:20:
> :info:build ./common.h:28:31: error: invalid suffix on literal; C++11
> requires a space between literal and identifier [-Wreserved-user-defined-
> literal]
> :info:build #define APP_STRING APP_NAME" "VERSION

New description:

 The first failure is at cert.cpp :
 {{{
 :info:build
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
 -c -pipe -stdlib=libc++ -O2 -g -O2 -std=gnu++11 -isysroot
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
 -mmacosx-version-min=10.7 -Wall -W -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB
 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I.
 -I/opt/local/libexec/qt5/lib/QtWidgets.framework/Headers
 -I/opt/local/libexec/qt5/lib/QtGui.framework/Headers
 -I/opt/local/libexec/qt5/lib/QtNetwork.framework/Headers
 -I/opt/local/libexec/qt5/lib/QtCore.framework/Headers -I.
 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Headers
 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AGL.framework/Headers
 -I. -I/opt/local/libexec/qt5/mkspecs/macx-clang
 -F/opt/local/libexec/qt5/lib -o cert.o cert.cpp
 :info:build In file included from editdialog.cpp:20:
 :info:build ./common.h:28:31: error: invalid suffix on literal; C++11
 requires a space between literal and identifier [-Wreserved-user-defined-
 literal]
 :info:build #define APP_STRING APP_NAME" "VERSION
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/51828#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list