Re: Detecting HP native C compiler on HP-UX

2015-05-24 Thread Michael Osipov
Am 2015-05-24 um 11:10 schrieb Michael Wood: On 24 May 2015 10:17 AM, "Michael Osipov" <1983-01...@gmx.net> wrote: Am 2015-05-24 um 08:37 schrieb Michael Wood: Why does curl need to know it's being compiled by the HP native compiler? In order ti properly set compiler flags. But what does

Re: Detecting HP native C compiler on HP-UX

2015-05-24 Thread Michael Wood
On 24 May 2015 10:17 AM, "Michael Osipov" <1983-01...@gmx.net> wrote: > > Am 2015-05-24 um 08:37 schrieb Michael Wood: >> >> Why does curl need to know it's being >> compiled by the HP native compiler? > > In order ti properly set compiler flags. But what does "properly" mean given that it works e

Re: Detecting HP native C compiler on HP-UX

2015-05-24 Thread Michael Osipov
Am 2015-05-24 um 08:37 schrieb Michael Wood: On 24 May 2015 12:39 AM, "Michael Osipov" <1983-01...@gmx.net> wrote: Am 2015-05-24 um 00:13 schrieb Daniel Stenberg: But it already worked for you even before that patch, right? Why do you want it applied? You think my __hpux concerns are invalid?

Re: Detecting HP native C compiler on HP-UX

2015-05-23 Thread Michael Wood
On 24 May 2015 12:39 AM, "Michael Osipov" <1983-01...@gmx.net> wrote: > > Am 2015-05-24 um 00:13 schrieb Daniel Stenberg: >> But it already worked for you even >> before that patch, right? Why do you >> want it applied? You think my __hpux >> concerns are invalid? > > > Yes, it did work w/o that pa

Re: Detecting HP native C compiler on HP-UX

2015-05-23 Thread Michael Osipov
Am 2015-05-24 um 00:13 schrieb Daniel Stenberg: On Sat, 23 May 2015, Michael Osipov wrote: Excuse me for late response. Please find in attachment unified patch (generated by command diff -u) for today's matser hpux-native-preprocessor.patch. You could apply it from cURL top sources directory wi

Re: Detecting HP native C compiler on HP-UX

2015-05-23 Thread Daniel Stenberg
On Sat, 23 May 2015, Michael Osipov wrote: Excuse me for late response. Please find in attachment unified patch (generated by command diff -u) for today's matser hpux-native-preprocessor.patch. You could apply it from cURL top sources directory with command patch -p0 < hpux-native-preprocessor

Re: Detecting HP native C compiler on HP-UX

2015-05-23 Thread Michael Osipov
Am 2015-05-22 um 11:37 schrieb DmiTriy Fedchenko: 2015-05-21 22:16 GMT+03:00 Michael Osipov <1983-01...@gmx.net>: Am 2015-05-20 um 18:37 schrieb Michael Osipov: OK, got it. I will try to force the error tomorrow at work. Can you please attach a unified diff against current master. I will test

Re: Detecting HP native C compiler on HP-UX

2015-05-22 Thread Daniel Stenberg
On Fri, 22 May 2015, DmiTriy Fedchenko wrote: Daniel, the main thing is that in order to determine what kind of C compiler we are running, cURL is using C preprocessor. Yes. But that's also the only way we know how to detect the HP cc compiler. If you google around, you'll also see others doi

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

2015-05-22 Thread Michael Osipov
> > 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 is

Re: Detecting HP native C compiler on HP-UX

2015-05-22 Thread DmiTriy Fedchenko
2015-05-22 18:28 GMT+03:00 Daniel Stenberg : > On Fri, 22 May 2015, DmiTriy Fedchenko wrote: > > 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 b

Re: Detecting HP native C compiler on HP-UX

2015-05-22 Thread Daniel Stenberg
On Fri, 22 May 2015, DmiTriy Fedchenko wrote: 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 i

Re: Detecting HP native C compiler on HP-UX

2015-05-22 Thread DmiTriy Fedchenko
2015-05-21 22:16 GMT+03:00 Michael Osipov <1983-01...@gmx.net>: > Am 2015-05-20 um 18:37 schrieb Michael Osipov: >> >> OK, got it. I will try to force the error tomorrow at work. Can you >> please attach a unified diff against current master. I will test that as >> well. > > > I can confirm that wi

Re: Detecting HP native C compiler on HP-UX

2015-05-21 Thread Michael Osipov
Am 2015-05-20 um 18:37 schrieb Michael Osipov: Am 2015-05-20 um 09:28 schrieb DmiTriy Fedchenko: 2015-05-19 19:45 GMT+03:00 Michael Osipov <1983-01...@gmx.net>: Am 2015-05-19 um 17:12 schrieb DmiTriy Fedchenko: Hello, I realise that m4/curl-compilers.m4 does not detecting properly HP native

Re: Detecting HP native C compiler on HP-UX

2015-05-20 Thread Michael Osipov
Am 2015-05-20 um 09:28 schrieb DmiTriy Fedchenko: 2015-05-19 19:45 GMT+03:00 Michael Osipov <1983-01...@gmx.net>: Am 2015-05-19 um 17:12 schrieb DmiTriy Fedchenko: Hello, I realise that m4/curl-compilers.m4 does not detecting properly HP native compiler on my HP-UX Itanium machines. The key p

Re: Detecting HP native C compiler on HP-UX

2015-05-20 Thread DmiTriy Fedchenko
2015-05-19 19:45 GMT+03:00 Michael Osipov <1983-01...@gmx.net>: > Am 2015-05-19 um 17:12 schrieb DmiTriy Fedchenko: > >> Hello, >> I realise that m4/curl-compilers.m4 does not detecting properly HP native >> compiler on my HP-UX Itanium machines. The key problem in C preprocessor >> which has invo

Re: Detecting HP native C compiler on HP-UX

2015-05-19 Thread Igor Korot
Dmitry, On Tue, May 19, 2015 at 12:45 PM, Michael Osipov <1983-01...@gmx.net> wrote: > Am 2015-05-19 um 17:12 schrieb DmiTriy Fedchenko: >> >> Hello, >> I realise that m4/curl-compilers.m4 does not detecting properly HP native >> compiler on my HP-UX Itanium machines. The key problem in C preproce

Re: Detecting HP native C compiler on HP-UX

2015-05-19 Thread Michael Osipov
Am 2015-05-19 um 17:12 schrieb DmiTriy Fedchenko: Hello, I realise that m4/curl-compilers.m4 does not detecting properly HP native compiler on my HP-UX Itanium machines. The key problem in C preprocessor which has invoked there. On available for me machines I am using cpp, not "cc -E" and it is n

Detecting HP native C compiler on HP-UX

2015-05-19 Thread DmiTriy Fedchenko
Hello, I realise that m4/curl-compilers.m4 does not detecting properly HP native compiler on my HP-UX Itanium machines. The key problem in C preprocessor which has invoked there. On available for me machines I am using cpp, not "cc -E" and it is not defines __HP_cc, but __hpux. In HP manuals writte