[Insight-users] Re: CVS ITK WrapITK swigrun.xml
Brad King
brad.king at kitware.com
Fri Nov 2 15:03:51 EDT 2007
Dan White wrote:
> looks like you are correct!
[snip]
> /System/Library/Frameworks (framework directory)
> /Library/Frameworks (framework directory)
Okay, here is a patch that should fix the problem.
/cvsroot/GCC_XML/gccxml/GCC_XML/Support/GCC/find_flags,v <-- find_flags
new revision: 1.20; previous revision: 1.19
-Brad
Index: GCC_XML/Support/GCC/find_flags
===================================================================
RCS file: /cvsroot/GCC_XML/gccxml/GCC_XML/Support/GCC/find_flags,v
retrieving revision 1.19
diff -c -3 -p -r1.19 find_flags
*** GCC_XML/Support/GCC/find_flags 2 Nov 2007 15:08:21 -0000 1.19
--- GCC_XML/Support/GCC/find_flags 2 Nov 2007 18:59:04 -0000
*************** BEGIN { first=1 }
*** 41,47 ****
INCLUDES=`
echo "" | ${CXX} -v -x c++ -E ${CXXFLAGS} - 2>&1 |
awk '/^[^ \/].*$/ { if (f) { printf("\n"); exit } }
! /^[ ]*\/.*$/ { if (f) { printf("-I%s ",$0) } }
/\#include <\.\.\..*$/ {f=1} ' - |
sed 's/^-I /-I/;s/ -I / -I/g'
`
--- 41,47 ----
INCLUDES=`
echo "" | ${CXX} -v -x c++ -E ${CXXFLAGS} - 2>&1 |
awk '/^[^ \/].*$/ { if (f) { printf("\n"); exit } }
! /^[ ]*\/[^ ]*$/ { if (f) { printf("-I%s ",$0) } }
/\#include <\.\.\..*$/ {f=1} ' - |
sed 's/^-I /-I/;s/ -I / -I/g'
`
More information about the Insight-users
mailing list