[MacPorts] #22927: newmat 10 please enable the use of namespace
MacPorts
noreply at macports.org
Thu Dec 17 06:46:33 PST 2009
#22927: newmat 10 please enable the use of namespace
------------------------------------+---------------------------------------
Reporter: slask@… | Owner: macports-tickets@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.1
Keywords: | Port:
------------------------------------+---------------------------------------
Newmat is capable of using c++ namespaces. This needs to be enabled during
build, otherwise one gets linker errors if one uses the namespace in user
code.
Namespaces is a good thing, and should in my opinion be enabled by default
for these kind of packages. I understand if turning it on breaks other
peoples build, but in that case one may use a variant.
I suggest that the use of namespace is turned on, and if this is not
possible because of breaking other applications, adding a variant.
I made the change locally with the "port edit" command, appending the
lines
configure.cxxflags-append -Duse_namespace
to the portfile.
--
Ticket URL: <http://trac.macports.org/ticket/22927>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list