Sean Boudreau(deleted)
|
Re: parse error before `::' on PPC build
|
Sean Boudreau(deleted)
07/29/2008 10:59 AM
post11196
|
Re: parse error before `::' on PPC build
On Fri, Jul 25, 2008 at 03:53:48PM -0400, Russell Shulman wrote:
> When my program includes this file:
> ppc8260.h
> which in turn includes the file:
> /../qnx630/target/qnx6/usr/include/ppc/cache.h
>
> The compiler gives me an error on this line:
> __asm__ __volatile__( "dcbf 0,%0;" :: "r" (__dst));
>
> The error is:
> /.../qnx630/target/qnx6/usr/include/ppc/cache.h:25: parse error before ???::???
>
> 1) What is this error about? And
> 2) When I build the ethernet driver through the QNX supplied makefile this same file is included in all the modules,
yet it doesn???t produce an error. Only when my program includes this file do I get the error. I???ve use all the same
compiler options that the make file does. So why just for my file?
> Thanks
I can't think of anything off hand. You might making the .i
(preprocessed file) in both instances and compare the difference.
-seanb
|
|
|