|
From: | Matthew Wezowicz |
Subject: | bug#10671: Automake 1.11 Test Suite Bug Report |
Date: | Tue, 7 Feb 2012 18:00:36 -0500 |
tags 10671 - moreinfo
tags 10671 + notabug
close 10671
thanks
Ah ah! So this is an issue with your compiler, not with Automake (good
On 02/07/2012 09:39 PM, Matthew Wezowicz wrote:
> The script prints the following to the console:
>
> + mkdir am.dir
> + cd am.dir
> + cat
> + echo 'int bar () { return 0; }'
> + mkdir sub
> + echo 'choke me'
> + st=0
> + gcc -I. -I./sub -c -o foo.o foo.c
> In file included from foo.c:1:
> ./sub/bar.h:1: error: expected `=', `,', `;', `asm' or `__attribute__'
> before `me'
> + echo FAIL 1
> FAIL 1
> + st=1
> + rm -f foo.o
> ++ pwd
> + gcc -I/build-tmp/am.dir -I./sub -c -o foo.o foo.c
> In file included from foo.c:1:
> ./sub/bar.h:1: error: expected `=', `,', `;', `asm' or `__attribute__'
> before `me'
> + echo FAIL 2
> FAIL 2
> + st=1
> + exit 1
>
for us, bad for you I guess ;-). In fact, the script should work if you
compiler truly gave precedence to the files residing in directories
specified with earlier '-I' options (as it does on my system).
I'm thus closing this bug report as "not an Automake bug". In case you
manage to find out what is wrong with your compiler's setup, feel free
to post it here, as more information might always be welcome by future
readers and bug reporters.
Thanks for your patience, and good luck,
Stefano
[Prev in Thread] | Current Thread | [Next in Thread] |