Opened 2 years ago

Closed 12 months ago

#56878 closed defect (fixed)

openscad-devel @2018.04-1: error: use of undeclared identifier 'nullptr'

Reported by: kencu (Ken) Owned by: dstrubbe (David Strubbe)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: openscad

Description (last modified by kencu (Ken))

On darwin11, build fails with above error.

adding

PortGroup cxx11 1.1

didn't fix it. Thereafter adding both these:

configure.cxxflags-append -std=c++11
configure.objcxxflags-append -std=c++11

didn't fix it either.

qt4 is a bit picky/tricky about these things. I may need to edit the build file directly and add -std=c++11 to the QMAKE OBJCXX flags, unless there is an easier way.

It seems (in the log) that this build specifically disables c++11 earlier in the build configuration due to libstdc++ (I guess it doesn't see libc++, and/or doesn't know what macports-libstdc++ might be).

This built fine on 10.6.8 configured to libc++, amongst other systems, earlier this year. I have a feeling this may be another example of the type of fixes we will no longer have to do once we default to libc++ on all systems.

Attachments (1)

openscad-devel-fail-darwin11.log (167.0 KB) - added by kencu (Ken) 2 years ago.

Download all attachments as: .zip

Change History (4)

Changed 2 years ago by kencu (Ken)

comment:1 Changed 2 years ago by kencu (Ken)

Description: modified (diff)

comment:2 Changed 2 years ago by mf2k (Frank Schima)

Port: openscad added

comment:3 Changed 12 months ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed

this was fixed in some subsequent update.

Note: See TracTickets for help on using tickets.