Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - parse error before `::' on PPC build: Page 1 of 4 (4 Items)
   
parse error before `::' on PPC build  
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