#16692 closed defect (fixed)
llvm-g++-4.2 can't build simple STL program
Reported by: | andrea.bedini@… | Owned by: | erickt@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | Cc: | ||
Port: | llvm-gcc42 |
Description
On my Tiger 10.4.11, it seems something messy is happening between system C++ STL library and llvm-g++-4.2. This simple STL doesn't compile while it compiles without a glitch with both system g++ 4.0 and macports g++ 4.2.
Attachments (2)
Change History (6)
Changed 16 years ago by andrea.bedini@…
Changed 16 years ago by andrea.bedini@…
output of: llvm-g++-4.2 prova.cc
comment:1 Changed 16 years ago by mf2k (Frank Schima)
Cc: | erickt@… removed |
---|---|
Owner: | changed from macports-tickets@… to erickt@… |
comment:2 Changed 16 years ago by andrea.bedini@…
compiling llvm-gcc42 without --with-gxx-include-dir=/usr/include/c++/4.0.0 seems to partially fix the problem. I still have to specify a bunch on directories (-I /opt/local/include/gcc42/c++/ -I /opt/local/include/gcc42/c++/i386-apple-darwin8.11.1/ -L/opt/local/lib/gcc42/) but it's now able to compile any C++ source I tried.
comment:3 Changed 16 years ago by erickt@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Should be fixed now.
Note: See
TracTickets for help on using
tickets.
simple program using stl