[Bug 228223] lang/phantomjs: fix build with clang60
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun May 13 17:14:46 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228223
Bug ID: 228223
Summary: lang/phantomjs: fix build with clang60
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: feld at FreeBSD.org
Reporter: dg at syrec.org
Assignee: feld at FreeBSD.org
Flags: maintainer-feedback?(feld at FreeBSD.org)
Attachment #193362 maintainer-approval?
Flags:
Created attachment 193362
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=193362&action=edit
patch file
--- webpage.o ---
clang++ -c -pipe -O2 -Wall -W -pthread -D_THREAD_SAFE -fPIC -DUSE_UTF8
-DSTATIC_BUILD -DANDLINE_STATIC -DQT_NO_DEBUG -DQT_WEBKITWIDGETS_LIB
-DQT_WIDGETS_LIB -DQT_WEBKIT_LIB -DQ_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I.
-Imongoose -Ilinenoise/src -Iqcommandline -Iqt/q/include
-Iqt/qtbase/include/QtWebKitWidgets -Iqt/qtbase/include/QtWidgets
-Iqt/qtbase/ie/QtWebKit -Iqt/qtbase/include/QtGui -Iqt/qtbase/include/QtNetwork
-Iqt/qtbase/include/Q -I. -I/usr/local/include
-Iqt/qtbase/mkspecs/freebsd-clang -o webpage.o webpage.cpp
webpage.cpp:80:89: error: invalid suffix on literal; C++11 requires a space
between litend identifier [-Wreserved-user-defined-literal]
#define CALLBACKS_OBJECT_INJECTION INPAGE_CALL_NAME" = function() { return
window."ACKS_OBJECT_NAME".call.call(_phantom,
Array.prototype.slice.call(arguments, 0)); };"
webpage.cpp:81:57: error: invalid suffix on literal; C++11 requires a space
between litend identifier [-Wreserved-user-defined-literal]
#define CALLBACKS_OBJECT_PRESENT "typeof(window."CALLBACKS_OBJECT_NAME")
!== \"uned\";"
^
2 errors generated.
*** [webpage.o] Error code 1
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list