Opened 16 months ago
#67846 assigned defect
chuck @1.4.0.1: error: use of undeclared identifier 'nullptr'
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | slewsys (Andrew L. Moore) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | ||
Port: | chuck |
Description
/usr/bin/clang++ -I. -Ilo -O3 -D__MACOSX_CORE__ -arch x86_64 -c chuck_dl.cpp -o chuck_dl.o
chuck_dl.cpp:1036:47: error: use of undeclared identifier 'nullptr' hook->m_carrier->chuck->setMainThreadHook(nullptr); ^ 1 error generated.
Fixing this requires setting configure.cxx_standard 2011
, adding configure.cxxflags-append -std=c++11
, and actually passing CFLAGS, CPPFLAGS, CXXFLAGS, LDFLAGS to the build system; this last can be accomplished through correct use of the makefile portgroup. See comment:ticket:49741:1 for prior discussion.
Note: See
TracTickets for help on using
tickets.