chipKIT® Development Platform

Inspired by Arduino™

Problem compiling with custom library

Created Mon, 28 Nov 2011 18:09:03 +0000 by luxeomni


luxeomni

Mon, 28 Nov 2011 18:09:03 +0000

I ve got a problem compiling a sketch using a custom library, i ve set the library in hardware/pic32/libraries and i have this error ( the weird thing is that it compiles fine at a friend s computer ) :

In file included from e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/i2c.h:50:0,
                 from e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/plib.h:50,
                 from E:\-=Programming=-\CHIPKIT\mpide-0022-windows-20110907-test\.\hardware\pic32\libraries\LcdBee\core.cpp:44:
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:342:33: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:360:5: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:363:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:364:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:365:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:366:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:367:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:368:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:369:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:370:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:377:5: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:380:9: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:381:9: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:385:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:386:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:387:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:388:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:389:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:390:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:391:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:392:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:393:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:394:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:395:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:396:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:397:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:398:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:399:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:400:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:408:5: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:416:9: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:417:9: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:418:9: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:419:9: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:428:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:429:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:430:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:431:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:432:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:433:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:434:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:435:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:436:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:437:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:438:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:439:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:440:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:441:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:442:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:443:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:444:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:445:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:446:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:447:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:448:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:449:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:450:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:451:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:452:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:453:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:454:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:455:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:456:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:457:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:458:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:459:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:470:5: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:485:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:486:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:487:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:488:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:489:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:490:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:491:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:492:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:493:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:494:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:495:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:496:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:497:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:498:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:499:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:500:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:501:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:502:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:503:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:504:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:505:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:506:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:507:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:508:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:509:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:510:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:511:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:512:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:513:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:514:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:515:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:516:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:517:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:518:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:519:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:520:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:521:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:522:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:523:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:524:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:525:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:526:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:527:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:528:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:529:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:530:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:531:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:532:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:533:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:534:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:535:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:536:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:537:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:538:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:539:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:540:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:541:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:542:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:543:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:544:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:545:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:546:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:547:21: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/GenericTypeDefs.h:548:21: error: expected unqualified-id before numeric constant
In file included from e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/plib.h:50:0,
                 from E:\-=Programming=-\CHIPKIT\mpide-0022-windows-20110907-test\.\hardware\pic32\libraries\LcdBee\core.cpp:44:
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/i2c.h:158:9: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/i2c.h:161:9: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/i2c.h:1082:41: error: expected identifier before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/i2c.h:1082:41: error: expected ',' or '...' before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/i2c.h:1331:1: error: expected unqualified-id before numeric constant
In file included from e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/plib.h:64:0,
                 from E:\-=Programming=-\CHIPKIT\mpide-0022-windows-20110907-test\.\hardware\pic32\libraries\LcdBee\core.cpp:44:
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/uart.h:833:86: error: expected identifier before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/uart.h:833:86: error: expected ',' or '...' before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/uart.h: In function 'void UARTSendDataByte(UART_MODULE, int)':
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/uart.h:835:27: error: 'data' was not declared in this scope
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/uart.h: At global scope:
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/uart.h:997:15: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/uart.h:1083:39: error: expected identifier before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/uart.h:1083:39: error: expected ',' or '...' before numeric constant
In file included from e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/plib.h:67:0,
                 from E:\-=Programming=-\CHIPKIT\mpide-0022-windows-20110907-test\.\hardware\pic32\libraries\LcdBee\core.cpp:44:
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/CAN.h:868:3: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/CAN.h:932:3: error: expected unqualified-id before numeric constant
e:\-=programming=-\chipkit\mpide-0022-windows-20110907-test\hardware\pic32\compiler\pic32-tools\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/peripheral/CAN.h:937:5: error: expected unqualified-id before numeric constant

Jacob Christ

Tue, 29 Nov 2011 05:37:00 +0000

I'm grasping at straws here, but I've seen other posts where people have had compile errors that were resolved with re-install....

Jacob


KeithV

Tue, 29 Nov 2011 17:30:51 +0000

You might want to check if you have a type of BYTE in your code. Arduino defines BYTE as 0 and is not as a type. If you attempt to use it as a type you get a numeric instead of the type. So if you say...

BYTE b = 3;

What the compiler sees is

0 b = 3;

And that 0 is a numeric.

KeithV Digilent


majenko

Wed, 07 Dec 2011 16:18:34 +0000

You are more than likely right there. The line in question is:

typedef unsigned char BYTE; /* 8-bit unsigned */

which, if BYTE were defined as 0 would end up:

typedef unsigned char 0; /* 8-bit unsigned */