Intel C++ compiler for Linux 11.1 doesn't build m4 1.4.13 on NetBSD

2009-11-17 Thread Alexander Nasonov
it fails here: fflush.c(95): error: a value of type "__off_t={__int64_t={long long}}" cannot be assigned to an entity of type "fpos_t" fp_->_offset = pos; ^ compilation aborted for fflush.c (code 2) *** [fflush.o] Error code 2 1 error A quick look at /usr/include/stdio.h sh

Re: Intel C++ compiler for Linux 11.1 doesn't build m4 1.4.13 on NetBSD

2009-11-17 Thread Alexander Nasonov
17.11.09, 06:12, "Eric Blake" : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > Are you sure you are using a C++ compiler instead of a C compiler? I was refering to the product called "IntelĀ® C++ Compiler Professional Edition for Linux". They ship the C compiler as well. Thanks, Alex

Re: Intel C++ compiler for Linux 11.1 doesn't build m4 1.4.13 on NetBSD

2009-12-16 Thread Alexander Nasonov
> Sorry for the delay, and thanks again for the report. I finally took time > on a NetBSD machine, and reproduced the problem by using CC='gcc -ansi'. > This patch fixed the issue for me, so I'm applying it. Eric, Thanks a lot and Happy Christmas! Alex