On Wed, Apr 21, 2010 at 08:46, Christopher Sean Morrison <[email protected]> wrote:
>
> Yet another modification made today.  Retry?  It's basically broken
> until it's transparent.

Good work!  It works without my adding a define and with the default
g++-4.5.0 configuration.

> If it still doesn't work as of r38683, send the output of this:
> touch file.h && g++ -E -dM file.h

For your info, the attached file has that output.  The  relevant
macros which triggered inclusion of stdint.h in common.h are:

  __STDC__
  __SIZE_TYPE__

By the way, if I were to write notes for those using gcc/g++ (maybe
add in the INSTALL file?) I would add something like the following:

  Compiling with BRL-CAD or using the openNURBS library may result in
many warnings including ones about ignored qualifiers on scalar and
void pointer function return values (the openNURBS team has been
advised of all warnings).  You may eliminate those warnings by passing
the following to g++:

  -Wno-ignored-qualifiers

To do that when compiling BRL-CAD, add the following argument to ./configure:

  CXXFLAGS='-Wno-ignored-qualifiers'

Cheers!

-Tom

P.S.  I see lots of warnings from "other" sources besides openNURBS.
Let me know if there are any you would like to have compiler warnings
looked into--I'll take that on when I can (I know you want to leave
openNURBS alone).

Attachment: g++-4.5.0.macros
Description: Binary data

------------------------------------------------------------------------------
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to