On Tue, Nov 30, 1999 at 12:59:05PM -0600, fox_at_foxtaur.com wrote:
> Dominik Vogt <dominik.vogt_at_fvwm.org> wrote:
> >
> > If I configure with the HP-UX compiler but the use gcc to compile the
> > output of the preprocessing step I get no errors.
>
> The HPUX compiler isn't ANSI by default. Someday, hopefully, they will
> change that. But for now, ANSI compliance only is granted when using
> the proper compiler switch.
>
> Brad Giaccio <bgiaccio_at_psrw.com> wrote:
> >
> > Then the HP compiler is probablly not an ansi C compiler but a k&r so
> > just go with gcc.
>
> I find a great amount of success using a configure method like this:
>
> env CC=cc CFLAGS='-Ae -O' ./configure [--options]
>
> Hope that helps.
Yes, thanks. I wasn't aware that ANSI/K&R compatibility extends only
until the first function prototype is encountered :-)
Bye
Dominik ^_^
--
Dominik Vogt, Agilent Technologies, Dept. BVS
Herrenberger Str.130, 71034 Boeblingen, Germany
phone: 07031/464-4596, fax: 07031/464-3883, dominik_vogt_at_agilent.com
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Tue Nov 30 1999 - 13:32:15 GMT