At 7/27/03, Jim Wilson wrote:
You might want to just wrap everything (below the includes) in namespace uiuc {}.
Best,
Jim
For now, to avoid the problem, I just changed 'ch' to 'chord_h'. I have committed the changes.
Regards, Michael
Michael Selig <[EMAIL PROTECTED]> said:
> At 7/27/03, you wrote:
> >Looks like you're getting into a mess with these defines (particularly
> >this one):
> >
> >#define ch aircraft_->ch
>
> If I renamed "ch", would that solve the problem? I could use "chord_h" for
> horizontal tail chord.
>
> Regards,
> Michael
>
>
> >as it conflicts with a variable in my sstream by the same name.
> >
> >See output:
> >
> >depmode=gcc3 /bin/sh ../../../depcomp \
> >g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/Include -I../../.. -I../../../src
> >-I/usr/X11R6/include -g -O2 -D_REENTRANT -c -o uiuc_menu.o `test -f
> >'uiuc_menu.cpp' || echo './'`uiuc_menu.cpp
> >In file included from uiuc_1DdataFileReader.h:7,
> > from uiuc_menu.h:10,
> > from uiuc_menu.cpp:173:
> >/usr/include/g++-3/sstream:218: parse error before `->'
> >/usr/include/g++-3/sstream:219: prototype for `int stringbuf::overflow
> >(...)' does not match any in class `stringbuf'
> >/usr/include/g++-3/sstream:88: candidate is: int stringbuf::overflow
> >(int = -1)
> >/usr/include/g++-3/sstream: In method `int stringbuf::overflow (...)':
> >/usr/include/g++-3/sstream:230: warning: passing `double' for argument 3 of
> >`basic_string<charT,
> >traits, Allocator>::replace (unsigned int, unsigned int, charT) [with charT =
> >char, traits =
> >string_char_traits<char>, Allocator = __default_alloc_template<true, 0>]'
> >make: *** [uiuc_menu.o] Error 1
> >
> >
> >Any major issues with rolling back just this one change?
> >
> >Best,
> >
> >Jim
> >
> >_______________________________________________
> >Flightgear-devel mailing list
> >[EMAIL PROTECTED]
> >http://mail.flightgear.org/mailman/listinfo/flightgear-devel
>
>
>
> **************************************************
> Prof. Michael S. Selig
> Dept. of Aerospace Engineering
> University of Illinois at Urbana-Champaign
> 306 Talbot Laboratory
> 104 South Wright Street
> Urbana, IL 61801-2935
> (217) 244-5757 (o), (509) 691-1373 (fax)
> mailto:[EMAIL PROTECTED]
> http://www.uiuc.edu/ph/www/m-selig
> http://www.uiuc.edu/ph/www/m-selig/faq.html (FAQ)
> **************************************************
>
>
> _______________________________________________
> Flightgear-devel mailing list
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel
>
-- Jim Wilson - IT Manager Kelco Industries PO Box 160 58 Main Street Milbridge, ME 04658 207-546-7989 - FAX 207-546-2791 http://www.kelcomaine.com
_______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
_______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
