On Sun, Jan 23, 2011 at 09:13, Christopher Sean Morrison <[email protected]> wrote:
> On Jan 21, 2011, at 8:19 AM, Tom Browder wrote:
>> BTW, I have to add the configure option:
>>
>> --with-cxxflags='-Wno-ignored-qualifiers'
>>
>> to get past openNURBS on a trunk build. Am I [d]oing something wrong?
> That is bizarre. Can you provide a build snippet showing the failure and
> compile line that came before the error?
...
> Try this:
>
> $ grep NOWARN src/other/openNURBS/Makefile
> NOWARN = -w
> libopenNURBS_nil_la_CFLAGS = ${LIBZ_CPPFLAGS} ${NOWARN}
> libopenNURBS_nil_la_CXXFLAGS = ${LIBZ_CPPFLAGS} ${NOWARN}
The result of that command is the same, but I see now that the "-w" is
not on the compile line because the compilation starts in directory:
but include headers from "other" directories. A snippet of output:
make[4]: Entering directory `/usr/src/tbrowde/brlcad-svn-trunk/src/conv/step'
g++-4.5.1 -DHAVE_CONFIG_H -I. -I../../../include
-I../../../src/other/step/include
-I../../../src/other/step/src/cleditor
-I../../../src/other/step/src/clstepcore
-I../../../src/other/step/src/clutils
-I../../../src/other/step/src/cldai -I../../../src/other/step/src/test
-I../../../src/other/tcl/generic -I../../../src/other/tcl/unix
-I../../../src/other/tnt -I../../../src/other/openNURBS
-I/usr/local/include -DBRLCADBUILD=1 -I../../../include
-I../../../src/other/openNURBS -I../../../src/other/openNURBS
-I../../../src/other/step/include
-I../../../src/other/step/src/cleditor
-I../../../src/other/step/src/clstepcore
-I../../../src/other/step/src/clutils
-I../../../src/other/step/src/cldai -I../../../src/other/step/src/test
-I../../../src/other/tcl/generic -I../../../src/other/tcl/unix -pipe
-fno-strict-aliasing -fno-common -fexceptions -ggdb3
-D_FORTIFY_SOURCE=2 -pedantic -W -Wall -Wundef -Wfloat-equal -Wshadow
-Winline -Wno-long-long -MT step_g-SdaiAll.o -MD -MP -MF
.deps/step_g-SdaiAll.Tpo -c -o step_g-SdaiAll.o `test -f 'SdaiAll.cc'
|| echo './'`SdaiAll.cc
g++-4.5.1 -DHAVE_CONFIG_H -I. -I../../../include
-I../../../src/other/step/include
-I../../../src/other/step/src/cleditor
-I../../../src/other/step/src/clstepcore
-I../../../src/other/step/src/clutils
-I../../../src/other/step/src/cldai -I../../../src/other/step/src/test
-I../../../src/other/tcl/generic -I../../../src/other/tcl/unix
-I../../../src/other/tnt -I../../../src/other/openNURBS
-I/usr/local/include -DBRLCADBUILD=1 -I../../../include
-I../../../src/other/openNURBS -I../../../src/other/openNURBS
-I../../../src/other/step/include
-I../../../src/other/step/src/cleditor
-I../../../src/other/step/src/clstepcore
-I../../../src/other/step/src/clutils
-I../../../src/other/step/src/cldai -I../../../src/other/step/src/test
-I../../../src/other/tcl/generic -I../../../src/other/tcl/unix -pipe
-fno-strict-aliasing -fno-common -fexceptions -ggdb3
-D_FORTIFY_SOURCE=2 -pedantic -W -Wall -Wundef -Wfloat-equal -Wshadow
-Winline -Wno-long-long -MT step_g-SdaiCONFIG_CONTROL_DESIGN.o -MD -MP
-MF .deps/step_g-SdaiCONFIG_CONTROL_DESIGN.Tpo -c -o
step_g-SdaiCONFIG_CONTROL_DESIGN.o `test -f
'SdaiCONFIG_CONTROL_DESIGN.cc' || echo
'./'`SdaiCONFIG_CONTROL_DESIGN.cc
g++-4.5.1 -DHAVE_CONFIG_H -I. -I../../../include
-I../../../src/other/step/include
-I../../../src/other/step/src/cleditor
-I../../../src/other/step/src/clstepcore
-I../../../src/other/step/src/clutils
-I../../../src/other/step/src/cldai -I../../../src/other/step/src/test
-I../../../src/other/tcl/generic -I../../../src/other/tcl/unix
-I../../../src/other/tnt -I../../../src/other/openNURBS
-I/usr/local/include -DBRLCADBUILD=1 -I../../../include
-I../../../src/other/openNURBS -I../../../src/other/openNURBS
-I../../../src/other/step/include
-I../../../src/other/step/src/cleditor
-I../../../src/other/step/src/clstepcore
-I../../../src/other/step/src/clutils
-I../../../src/other/step/src/cldai -I../../../src/other/step/src/test
-I../../../src/other/tcl/generic -I../../../src/other/tcl/unix -pipe
-fno-strict-aliasing -fno-common -fexceptions -ggdb3
-D_FORTIFY_SOURCE=2 -pedantic -W -Wall -Wundef -Wfloat-equal -Wshadow
-Winline -Wno-long-long -MT step_g-SdaiCONFIG_CONTROL_DESIGN.init.o
-MD -MP -MF .deps/step_g-SdaiCONFIG_CONTROL_DESIGN.init.Tpo -c -o
step_g-SdaiCONFIG_CONTROL_DESIGN.init.o `test -f
'SdaiCONFIG_CONTROL_DESIGN.init.cc' || echo
'./'`SdaiCONFIG_CONTROL_DESIGN.init.cc
g++-4.5.1 -DHAVE_CONFIG_H -I. -I../../../include
-I../../../src/other/step/include
-I../../../src/other/step/src/cleditor
-I../../../src/other/step/src/clstepcore
-I../../../src/other/step/src/clutils
-I../../../src/other/step/src/cldai -I../../../src/other/step/src/test
-I../../../src/other/tcl/generic -I../../../src/other/tcl/unix
-I../../../src/other/tnt -I../../../src/other/openNURBS
-I/usr/local/include -DBRLCADBUILD=1 -I../../../include
-I../../../src/other/openNURBS -I../../../src/other/openNURBS
-I../../../src/other/step/include
-I../../../src/other/step/src/cleditor
-I../../../src/other/step/src/clstepcore
-I../../../src/other/step/src/clutils
-I../../../src/other/step/src/cldai -I../../../src/other/step/src/test
-I../../../src/other/tcl/generic -I../../../src/other/tcl/unix -pipe
-fno-strict-aliasing -fno-common -fexceptions -ggdb3
-D_FORTIFY_SOURCE=2 -pedantic -W -Wall -Wundef -Wfloat-equal -Wshadow
-Winline -Wno-long-long -MT step_g-compstructs.o -MD -MP -MF
.deps/step_g-compstructs.Tpo -c -o step_g-compstructs.o `test -f
'compstructs.cc' || echo './'`compstructs.cc
In file included from ../../../src/other/step/src/clstepcore/sdai.h:299:0,
from ./schema.h:21,
from SdaiCONFIG_CONTROL_DESIGN.cc:10:
../../../src/other/step/src/clstepcore/sdaiEnum.h:72:24: warning: type
qualifiers ignored on function return type
Best,
-Tom
Thomas M. Browder, Jr.
Niceville, Florida
USA
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel