Opened 8 years ago
Closed 8 years ago
#51828 closed defect (fixed)
openconnect-gui - C++11 requires a space between literal and identifier
Reported by: | peter@… | Owned by: | bket |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | Cc: | ||
Port: | openconnect-gui |
Description (last modified by mf2k (Frank Schima))
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
Attachments (1)
Change History (5)
comment:1 Changed 8 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to bjorn.ketelaars@… |
---|
comment:2 Changed 8 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
Changed 8 years ago by bket
Attachment: | openconnect-gui.diff added |
---|
comment:3 Changed 8 years ago by bket
This is fixed by adding whitespaces:
#define APP_STRING APP_NAME" "VERSION
becomes:
#define APP_STRING APP_NAME " " VERSION
Diff attached to ticket.
comment:4 Changed 8 years ago by neverpanic (Clemens Lang)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Committed in r150107 without the revbump because that would only be necessary if the port had built correctly and needed to be rebuilt.
Note: See
TracTickets for help on using
tickets.
In the future, please use WikiFormatting and Cc the port maintainers (
port info --maintainers openconnect-gui
), if any.