Comments on auto* macros

Christopher R. Gabriel cgabriel@softwarelibero.org
Wed Dec 19 13:20:00 GMT 2001


    >> But I must admit that (as an auto* layman), I am still quite
    >> confused after reading these pages.  E.g., I just spent some
    >> half hour to find out that the AM_PATH_GSL test has to come
    >> before the AC_LANG_CPLUSPLUS switch, because the c++ compiler
    >> otherwise complains about an implicit cast in line 74 of
    >> gsl.m4.  The same seems to hold for the inline tests.  Is this
    >> ordering of tests absolutely trivial for anyone experienced
    >> with autoconf?  If not, could you include a hint in the
    >> documentation?

    Brian> I think the macros had only been used with a C compiler not
    Brian> C++, so that problem hadn't been encountered before.  I'll
    Brian> add that to the documentation.

Yep, sorry for that. I've wrote the AM_PATH_GSL using just a C
compiler, never tried with a C++. Sorry if my documentation patch
wasn't complete enough.

Regards,

--
Christopher



More information about the Gsl-discuss mailing list