cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Re: Detecting HP native C compiler on HP-UX

From: Michael Osipov <1983-01-06_at_gmx.net>
Date: Fri, 22 May 2015 20:24:59 +0200

> > Excuse me for late response. Please find in attachment unified
> > patch (generated by command diff -u) for today's matser
>
> Thanks!
>
> If find it very interesting that the compiler can somehow be told to not use
> the define that identifies it as what it is. The "hpux" one you now use isn't
> really identifying the compiler, it just says that the compiler runs on HPUX
> which isn't the same thing.
>
> See https://sourceforge.net/p/predef/wiki/Compilers/ and scroll down to "HP
> ANSI C". That __HP_cc define is the only known way we have to detect that
> compiler. Or _had_, since we now learn that it isn't working very reliably.
>
> Any chance you can run this "defines" script and see what it outputs ?
> http://predef.sourceforge.net/defines.txt

There you go!

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2015-05-22