#43757: cppcheck @1.65: error: unrecognized command line option "-std=c++0x" ---------------------------+------------------------ Reporter: ryandesign@… | Owner: xythobuz@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: cppcheck | ---------------------------+------------------------ Comment (by egall@…): Replying to [comment:4 xythobuz@…]:
Edit: turns out that that wiki page fails to mention those keywords specifically, but it still contains the same general idea that is necessary here.
Will the attached diff do the trick? I don't think I'm using these keywords in the right way, but I can't find proper documentation.
I would use `-append` with those keywords, and especially with `compiler.fallback`, because MacPorts already comes with a default fallback list of compilers, and without using `-append`, you end up overwriting it. Not exactly sure where the default fallback list is stored/documented though... -- Ticket URL: <https://trac.macports.org/ticket/43757#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X