cygwin g++ failures `::acosf' undeclared (first use here)

Alexandre Oliva aoliva@redhat.com
Thu Jul 26 16:12:00 GMT 2001


On Jul 26, 2001, Gabriel Dos Reis <gdr@codesourcery.com> wrote:

> This reopens the question of whether we should test for features (at
> configure time) with -ansi on.  

> Currently here is what happens: we test  support for features without
> turning on -ansi and then we build the library on top of them.
> Latter, users specify -ansi and boom we get confused...

> On the other hand, detecting features with -ansi on may lead us miss
> some nonetheless supported features in non-strict mode.

It seems to me that the best course of action would be to test for the
feature both with and without -ansi, and behave accordingly.  But
then, how about _POSIX_SOURCE and other _*_SOURCE macros? :-(

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



More information about the Gcc-bugs mailing list