[MacPorts] #49651: nco @4.5.2_2: /opt/local/include/antlr/CharScanner.hpp:565:41: error: 'strcasecmp' was not declared in this scope
MacPorts
noreply at macports.org
Fri Mar 4 20:46:39 PST 2016
#49651: nco @4.5.2_2: /opt/local/include/antlr/CharScanner.hpp:565:41: error:
'strcasecmp' was not declared in this scope
-----------------------------+-----------------------
Reporter: gryphon.csd8@… | Owner: takeshi@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords:
Port: nco |
-----------------------------+-----------------------
Comment (by takeshi@…):
clang++ used to compile antlr and g++ seems to generate different symbols.
e.g. for antlr::ASTFactory::create
{{{
$ nm work/nco-4.5.5/src/nco++/ncoParser.o | grep ASTFactory | grep create
U
__ZN5antlr10ASTFactory6createENS_13TokenRefCountINS_5TokenEEE
U __ZN5antlr10ASTFactory6createEiRKSs
$ nm /opt/local/lib/libantlr.a | grep ASTFactory | grep create
000000000000049c T
__ZN5antlr10ASTFactory6createENS_11ASTRefCountINS_3ASTEEE
0000000000000588 T
__ZN5antlr10ASTFactory6createENS_13TokenRefCountINS_5TokenEEE
0000000000000396 T __ZN5antlr10ASTFactory6createEi
0000000000000432 T
__ZN5antlr10ASTFactory6createEiRKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE
0000000000000344 T __ZN5antlr10ASTFactory6createEv
}}}
--
Ticket URL: <https://trac.macports.org/ticket/49651#comment:6>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list