GNU bug report logs -
#10671
Automake 1.11 Test Suite Bug Report
Previous Next
Reported by: Matthew Wezowicz <mwezz <at> udel.edu>
Date: Tue, 31 Jan 2012 02:53:02 UTC
Severity: minor
Tags: moreinfo
Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
tags 10671 - moreinfo
tags 10671 + notabug
close 10671
thanks
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
>
Ah ah! So this is an issue with your compiler, not with Automake (good
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
This bug report was last modified 13 years and 120 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.