bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#10671: Automake 1.11 Test Suite Bug Report


From: Matthew Wezowicz
Subject: bug#10671: Automake 1.11 Test Suite Bug Report
Date: Tue, 7 Feb 2012 18:00:36 -0500

Thank you for your efforts.
Even if it didn't solve the problem I know at least know where to look now.

On Tue, Feb 7, 2012 at 5:28 PM, Stefano Lattarini <address@hidden> wrote:
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



--
Matthew "Wezzy" Wezowicz
University of Delaware GCL Undergraduate Researcher


reply via email to

[Prev in Thread] Current Thread [Next in Thread]