Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 May 2018 17:14:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 228223] lang/phantomjs: fix build with clang60
Message-ID:  <bug-228223-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228223

            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@FreeBSD.org
          Reporter: dg@syrec.org
          Assignee: feld@FreeBSD.org
             Flags: maintainer-feedback?(feld@FreeBSD.org)
 Attachment #193362 maintainer-approval?
             Flags:

Created attachment 193362
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D193362&action=
=3Dedit
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/QtNet=
work
-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" =3D 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_NA=
ME")
!=3D=3D \"uned\";"
                                                        ^

2 errors generated.
*** [webpage.o] Error code 1

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228223-7788>