* Parse errors....
@ 2002-01-30 3:26 kabir.patel
0 siblings, 0 replies; 5+ messages in thread
From: kabir.patel @ 2002-01-30 3:26 UTC (permalink / raw)
To: me; +Cc: gcc-help
I tried compiling my example c code using
gcc -I. -I/d5/OCS-12_5/include example1.c /d5/OCS-12_5/lib/libsybdb.a -lm -lnsl
-o example1
I get the following errors and do not even understand what they mean (what's a
parse error?)
Why doesn't it read the * correctly?
Any feedback would be much appreciated.
=====================================
In file included from example1.c:7:
sybdb.h:1089: parse error before '*' token
sybdb.h:1093: parse error before '*' token
sybdb.h:1097: parse error before '*' token
sybdb.h:1104: parse error before '*' token
sybdb.h:1107: parse error before '*' token
sybdb.h:1116: parse error before '*' token
sybdb.h:1122: parse error before '*' token
sybdb.h:1125: parse error before '*' token
sybdb.h:1131: parse error before '*' token
sybdb.h:1137: parse error before '*' token
sybdb.h:1140: parse error before '*' token
sybdb.h:1145: parse error before '*' token
sybdb.h:1148: parse error before '*' token
sybdb.h:1151: parse error before '*' token
sybdb.h:1151: parse error before '*' token
sybdb.h:1153: `DBWAITFUNC' declared as function returning a function
sybdb.h:1155: parse error before '*' token
sybdb.h:1194: parse error before "DB_ATTN_FUNC"
sybdb.h:1194: warning: no semicolon at end of struct or union
sybdb.h:1198: warning: data definition has no type or storage class
sybdb.h:1202: parse error before "serv_read_a"
sybdb.h:1202: warning: data definition has no type or storage class
sybdb.h:1204: parse error before "serv_writ"
sybdb.h:1204: warning: data definition has no type or storage class
sybdb.h:1208: parse error before "serv_clos"
sybdb.h:1208: warning: data definition has no type or storage class
sybdb.h:1216: parse error before '}' token
sybdb.h:1216: warning: data definition has no type or storage class
sybdb.h:1283: parse error before "DB_BINDPROC_FUNC"
sybdb.h:1283: warning: no semicolon at end of struct or union
sybdb.h:1290: parse error before '}' token
sybdb.h:1340: field `colbind' has incomplete type
sybdb.h:1408: variable or field `DBFAR' declared void
sybdb.h:1408: warning: no semicolon at end of struct or union
sybdb.h:1408: parse error before '*' token
sybdb.h:1409: parse error before '*' token
sybdb.h:1409: warning: data definition has no type or storage class
sybdb.h:1410: parse error before '}' token
sybdb.h:1410: warning: data definition has no type or storage class
sybdb.h:1457: field `altbind' has incomplete type
sybdb.h:1497: warning: no semicolon at end of struct or union
sybdb.h:1497: parse error before '*' token
sybdb.h:1498: parse error before '*' token
sybdb.h:1498: warning: data definition has no type or storage class
sybdb.h:1499: parse error before '*' token
sybdb.h:1499: warning: data definition has no type or storage class
sybdb.h:1501: parse error before '*' token
sybdb.h:1501: warning: data definition has no type or storage class
sybdb.h:1502: parse error before '}' token
sybdb.h:1775: parse error before "DB_HCONVERT_FUNC"
sybdb.h:1775: warning: no semicolon at end of struct or union
sybdb.h:1798: parse error before '}' token
sybdb.h:1798: warning: data definition has no type or storage class
sybdb.h:1823: parse error before "BCPHOSTDESC"
sybdb.h:1823: warning: no semicolon at end of struct or union
sybdb.h:1826: warning: data definition has no type or storage class
sybdb.h:1831: parse error before '*' token
sybdb.h:1831: warning: data definition has no type or storage class
sybdb.h:1877: parse error before '}' token
sybdb.h:1877: warning: data definition has no type or storage class
sybdb.h:1985: parse error before "EVENTHANDLEFUNC"
sybdb.h:1985: warning: no semicolon at end of struct or union
sybdb.h:1989: parse error before '}' token
sybdb.h:1989: warning: data definition has no type or storage class
sybdb.h:2226: parse error before "DB_DBBUSY_FUNC"
sybdb.h:2226: warning: no semicolon at end of struct or union
sybdb.h:2229: warning: data definition has no type or storage class
sybdb.h:2232: parse error before "dbchkintr"
sybdb.h:2232: warning: data definition has no type or storage class
sybdb.h:2235: parse error before "dbhndlintr"
sybdb.h:2235: warning: data definition has no type or storage class
sybdb.h:2286: parse error before '*' token
sybdb.h:2286: warning: data definition has no type or storage class
sybdb.h:2380: parse error before '*' token
sybdb.h:2380: warning: data definition has no type or storage class
sybdb.h:2381: parse error before '*' token
sybdb.h:2381: warning: data definition has no type or storage class
sybdb.h:2492: parse error before '}' token
sybdb.h:2753: parse error before '*' token
sybdb.h:2762: parse error before '*' token
sybdb.h:2773: parse error before '*' token
sybdb.h:2778: parse error before '*' token
sybdb.h:2783: parse error before '*' token
sybdb.h:2788: parse error before '*' token
sybdb.h:2794: parse error before '*' token
sybdb.h:2797: parse error before '*' token
sybdb.h:2800: parse error before '*' token
sybdb.h:2803: parse error before '*' token
sybdb.h:2806: parse error before '*' token
sybdb.h:2809: parse error before '*' token
sybdb.h:2812: parse error before '*' token
sybdb.h:2815: parse error before '*' token
sybdb.h:2818: parse error before '*' token
sybdb.h:2821: parse error before '*' token
sybdb.h:2824: parse error before '*' token
sybdb.h:2827: parse error before '*' token
sybdb.h:2829: `dbnumorders' redeclared as different kind of symbol
sybdb.h:2243: previous declaration of `dbnumorders'
sybdb.h:2830: parse error before '*' token
sybdb.h:2833: parse error before '*' token
sybdb.h:2836: parse error before '*' token
sybdb.h:2839: parse error before '*' token
sybdb.h:2841: `dbdead' redeclared as different kind of symbol
sybdb.h:2256: previous declaration of `dbdead'
sybdb.h:2842: parse error before '*' token
sybdb.h:2845: parse error before '*' token
sybdb.h:2848: parse error before '*' token
sybdb.h:2851: parse error before '*' token
sybdb.h:2870: parse error before '*' token
sybdb.h:2870: parse error before '*' token
sybdb.h:2874: warning: data definition has no type or storage class
sybdb.h:2875: parse error before '*' token
sybdb.h:2875: parse error before '*' token
sybdb.h:2879: warning: data definition has no type or storage class
sybdb.h:2880: parse error before '*' token
sybdb.h:2880: parse error before '*' token
sybdb.h:2883: warning: data definition has no type or storage class
sybdb.h:2884: parse error before '*' token
sybdb.h:2884: parse error before '*' token
sybdb.h:2886: warning: data definition has no type or storage class
sybdb.h:2887: parse error before '*' token
sybdb.h:2887: parse error before '*' token
sybdb.h:2890: warning: data definition has no type or storage class
sybdb.h:2891: parse error before '*' token
sybdb.h:2891: parse error before '*' token
sybdb.h:2893: warning: data definition has no type or storage class
sybdb.h:2894: parse error before '*' token
sybdb.h:2894: parse error before '*' token
sybdb.h:2897: warning: data definition has no type or storage class
sybdb.h:2898: parse error before '*' token
sybdb.h:2898: parse error before '*' token
sybdb.h:2901: warning: data definition has no type or storage class
sybdb.h:2902: parse error before '*' token
sybdb.h:2902: parse error before '*' token
sybdb.h:2904: warning: data definition has no type or storage class
sybdb.h:2905: parse error before '*' token
sybdb.h:2909: parse error before '*' token
sybdb.h:2912: parse error before '*' token
sybdb.h:2916: parse error before '*' token
sybdb.h:2918: `dbhasretstat' redeclared as different kind of symbol
sybdb.h:2302: previous declaration of `dbhasretstat'
sybdb.h:2919: parse error before '*' token
sybdb.h:2924: parse error before '*' token
sybdb.h:2928: parse error before '*' token
sybdb.h:2936: parse error before '*' token
sybdb.h:2941: parse error before '*' token
sybdb.h:2946: parse error before '*' token
sybdb.h:2950: parse error before '*' token
sybdb.h:2959: parse error before '*' token
sybdb.h:2969: parse error before '*' token
sybdb.h:2974: parse error before '*' token
sybdb.h:2978: parse error before '*' token
sybdb.h:2984: parse error before '*' token
sybdb.h:2988: parse error before '*' token
sybdb.h:2991: parse error before '*' token
sybdb.h:2993: `dbspid' redeclared as different kind of symbol
sybdb.h:2278: previous declaration of `dbspid'
sybdb.h:2994: parse error before '*' token
sybdb.h:2997: parse error before '*' token
sybdb.h:3000: parse error before '*' token
sybdb.h:3000: parse error before '*' token
sybdb.h:3003: warning: data definition has no type or storage class
sybdb.h:3004: parse error before '*' token
sybdb.h:3004: parse error before '*' token
sybdb.h:3006: warning: data definition has no type or storage class
sybdb.h:3007: parse error before '*' token
sybdb.h:3007: parse error before '*' token
sybdb.h:3010: warning: data definition has no type or storage class
sybdb.h:3011: parse error before "dberrhandle"
sybdb.h:3011: parse error before "handler"
sybdb.h:3013: warning: data definition has no type or storage class
sybdb.h:3014: parse error before '*' token
sybdb.h:3016: warning: data definition has no type or storage class
sybdb.h:3017: parse error before "dbmsghandle"
sybdb.h:3017: parse error before "handler"
sybdb.h:3019: warning: data definition has no type or storage class
sybdb.h:3020: parse error before '*' token
sybdb.h:3028: parse error before '*' token
sybdb.h:3037: parse error before '*' token
sybdb.h:3043: parse error before '*' token
sybdb.h:3050: parse error before '*' token
sybdb.h:3058: parse error before '*' token
sybdb.h:3069: parse error before '*' token
sybdb.h:3080: parse error before '*' token
sybdb.h:3085: parse error before '*' token
sybdb.h:3089: parse error before '*' token
sybdb.h:3096: parse error before '*' token
sybdb.h:3105: parse error before '*' token
sybdb.h:3108: parse error before '*' token
sybdb.h:3116: parse error before '*' token
sybdb.h:3121: parse error before '*' token
sybdb.h:3126: parse error before '*' token
sybdb.h:3130: parse error before '*' token
sybdb.h:3136: parse error before '*' token
sybdb.h:3141: parse error before '*' token
sybdb.h:3147: parse error before '*' token
sybdb.h:3152: parse error before '*' token
sybdb.h:3156: parse error before '*' token
sybdb.h:3163: parse error before '*' token
sybdb.h:3170: parse error before '*' token
sybdb.h:3176: parse error before '*' token
sybdb.h:3181: parse error before '*' token
sybdb.h:3187: parse error before '*' token
sybdb.h:3192: parse error before '*' token
sybdb.h:3198: parse error before '*' token
sybdb.h:3204: parse error before '*' token
sybdb.h:3208: parse error before '*' token
sybdb.h:3214: parse error before '*' token
sybdb.h:3219: parse error before '*' token
sybdb.h:3223: parse error before '*' token
sybdb.h:3229: parse error before '*' token
sybdb.h:3235: parse error before '*' token
sybdb.h:3239: parse error before '*' token
sybdb.h:3245: parse error before '*' token
sybdb.h:3249: parse error before '*' token
sybdb.h:3253: parse error before '*' token
sybdb.h:3258: parse error before '*' token
sybdb.h:3264: parse error before '*' token
sybdb.h:3270: parse error before '*' token
sybdb.h:3276: parse error before '*' token
sybdb.h:3282: parse error before '*' token
sybdb.h:3286: parse error before '*' token
sybdb.h:3291: parse error before '*' token
sybdb.h:3294: parse error before '*' token
sybdb.h:3299: parse error before '*' token
sybdb.h:3303: `dbnullbind' redeclared as different kind of symbol
sybdb.h:2241: previous declaration of `dbnullbind'
sybdb.h:3314: parse error before '*' token
sybdb.h:3320: parse error before '*' token
sybdb.h:3334: parse error before '*' token
sybdb.h:3337: parse error before '*' token
sybdb.h:3341: parse error before '*' token
sybdb.h:3346: parse error before '*' token
sybdb.h:3350: parse error before '*' token
sybdb.h:3356: parse error before '*' token
sybdb.h:3361: parse error before '*' token
sybdb.h:3364: parse error before '*' token
sybdb.h:3369: parse error before '*' token
sybdb.h:3376: parse error before '*' token
sybdb.h:3382: parse error before '*' token
sybdb.h:3385: parse error before '*' token
sybdb.h:3396: parse error before '*' token
sybdb.h:3401: parse error before '*' token
sybdb.h:3410: parse error before '*' token
sybdb.h:3413: parse error before '*' token
sybdb.h:3419: parse error before '*' token
sybdb.h:3431: parse error before '*' token
sybdb.h:3435: parse error before '*' token
sybdb.h:3442: parse error before '*' token
sybdb.h:3445: parse error before '*' token
sybdb.h:3448: parse error before '*' token
sybdb.h:3461: parse error before '*' token
sybdb.h:3467: parse error before '*' token
sybdb.h:3473: parse error before '*' token
sybdb.h:3481: parse error before '*' token
sybdb.h:3488: parse error before '*' token
sybdb.h:3493: parse error before '*' token
sybdb.h:3498: parse error before '*' token
sybdb.h:3504: parse error before '*' token
sybdb.h:3515: parse error before '*' token
sybdb.h:3526: parse error before '*' token
sybdb.h:3529: parse error before '*' token
sybdb.h:3535: parse error before '*' token
sybdb.h:3542: parse error before '*' token
sybdb.h:3547: parse error before '*' token
sybdb.h:3551: parse error before '*' token
sybdb.h:3558: parse error before '*' token
sybdb.h:3568: parse error before '*' token
sybdb.h:3572: parse error before '*' token
sybdb.h:3583: parse error before '*' token
sybdb.h:3588: parse error before '*' token
sybdb.h:3592: parse error before '*' token
sybdb.h:3592: parse error before '*' token
sybdb.h:3599: warning: data definition has no type or storage class
sybdb.h:3600: parse error before '*' token
sybdb.h:3600: parse error before '*' token
sybdb.h:3602: warning: data definition has no type or storage class
sybdb.h:3603: parse error before '*' token
sybdb.h:3603: parse error before '*' token
sybdb.h:3605: warning: data definition has no type or storage class
sybdb.h:3606: parse error before '*' token
sybdb.h:3606: parse error before '*' token
sybdb.h:3609: warning: data definition has no type or storage class
sybdb.h:3610: parse error before '*' token
sybdb.h:3610: parse error before '*' token
sybdb.h:3613: warning: data definition has no type or storage class
sybdb.h:3614: parse error before '*' token
sybdb.h:3614: parse error before '*' token
sybdb.h:3617: warning: data definition has no type or storage class
sybdb.h:3618: parse error before '*' token
sybdb.h:3618: parse error before '*' token
sybdb.h:3622: warning: data definition has no type or storage class
sybdb.h:3623: parse error before '*' token
sybdb.h:3623: parse error before '*' token
sybdb.h:3626: warning: data definition has no type or storage class
sybdb.h:3627: parse error before '*' token
sybdb.h:3627: parse error before '*' token
sybdb.h:3629: warning: data definition has no type or storage class
sybdb.h:3630: parse error before '*' token
sybdb.h:3630: parse error before '*' token
sybdb.h:3632: warning: data definition has no type or storage class
sybdb.h:3633: parse error before '*' token
sybdb.h:3633: parse error before '*' token
sybdb.h:3638: warning: data definition has no type or storage class
sybdb.h:3639: parse error before '*' token
sybdb.h:3639: parse error before '*' token
sybdb.h:3641: warning: data definition has no type or storage class
sybdb.h:3642: parse error before '*' token
sybdb.h:3644: warning: data definition has no type or storage class
sybdb.h:3645: parse error before '*' token
sybdb.h:3645: parse error before '*' token
sybdb.h:3649: warning: data definition has no type or storage class
sybdb.h:3650: parse error before '*' token
sybdb.h:3650: parse error before '*' token
sybdb.h:3653: warning: data definition has no type or storage class
sybdb.h:3654: parse error before '*' token
sybdb.h:3654: parse error before '*' token
sybdb.h:3656: warning: data definition has no type or storage class
sybdb.h:3657: parse error before '*' token
sybdb.h:3657: parse error before '*' token
sybdb.h:3660: warning: data definition has no type or storage class
sybdb.h:3661: parse error before '*' token
sybdb.h:3661: parse error before '*' token
sybdb.h:3665: warning: data definition has no type or storage class
sybdb.h:3666: parse error before '*' token
sybdb.h:3668: warning: data definition has no type or storage class
sybdb.h:3669: parse error before '*' token
sybdb.h:3674: parse error before '*' token
sybdb.h:3679: parse error before '*' token
sybdb.h:3684: parse error before '*' token
sybdb.h:3689: parse error before '*' token
sybdb.h:3691: `dbbufsize' redeclared as different kind of symbol
sybdb.h:2238: previous declaration of `dbbufsize'
sybdb.h:3692: parse error before '*' token
sybdb.h:3696: parse error before '*' token
sybdb.h:3700: parse error before '*' token
sybdb.h:3705: parse error before '*' token
sybdb.h:3710: parse error before '*' token
sybdb.h:3716: parse error before '*' token
sybdb.h:3721: parse error before '*' token
sybdb.h:3729: parse error before '*' token
sybdb.h:3734: parse error before '*' token
sybdb.h:3737: parse error before '*' token
sybdb.h:3742: parse error before '*' token
sybdb.h:3747: parse error before '*' token
sybdb.h:3751: parse error before '*' token
sybdb.h:3754: parse error before '*' token
sybdb.h:3757: parse error before '*' token
sybdb.h:3760: parse error before '*' token
sybdb.h:3764: parse error before '*' token
sybdb.h:3770: parse error before '*' token
sybdb.h:3778: parse error before '*' token
sybdb.h:3781: parse error before '*' token
sybdb.h:3789: parse error before '*' token
sybdb.h:3792: parse error before '*' token
sybdb.h:3795: parse error before '*' token
sybdb.h:3806: parse error before '*' token
sybdb.h:3809: parse error before '*' token
sybdb.h:3813: parse error before '*' token
sybdb.h:3820: parse error before '*' token
sybdb.h:3823: parse error before '*' token
sybdb.h:3826: parse error before '*' token
sybdb.h:3836: parse error before '*' token
sybdb.h:3839: parse error before '*' token
sybdb.h:3842: parse error before '*' token
sybdb.h:3845: parse error before '*' token
sybdb.h:3848: parse error before '*' token
sybdb.h:3852: parse error before '*' token
sybdb.h:3856: parse error before '*' token
sybdb.h:3859: parse error before '*' token
sybdb.h:3864: parse error before '*' token
sybdb.h:3868: parse error before '*' token
sybdb.h:3880: parse error before "DBFAR"
sybdb.h:3880: parse error before '*' token
sybdb.h:3886: warning: data definition has no type or storage class
sybdb.h:3887: parse error before '*' token
sybdb.h:3891: parse error before '*' token
sybdb.h:3894: parse error before '*' token
sybdb.h:3897: parse error before '*' token
sybdb.h:3900: parse error before "DBFAR"
sybdb.h:3903: parse error before '*' token
sybdb.h:3913: parse error before '*' token
sybdb.h:3923: parse error before '*' token
sybdb.h:3934: parse error before '*' token
sybdb.h:3939: parse error before '*' token
sybdb.h:3944: parse error before '*' token
sybdb.h:3948: parse error before '*' token
sybdb.h:3953: parse error before '*' token
sybdb.h:3957: parse error before '*' token
sybdb.h:3964: parse error before '*' token
sybdb.h:3969: parse error before '*' token
sybdb.h:3975: parse error before '*' token
sybdb.h:3979: parse error before '*' token
sybdb.h:3982: parse error before '*' token
sybdb.h:3987: parse error before '*' token
sybdb.h:3991: parse error before "DBFAR"
sybdb.h:3994: parse error before "DBFAR"
sybdb.h:4002: parse error before "DBFAR"
sybdb.h:4007: parse error before "DBFAR"
sybdb.h:4011: parse error before "DBFAR"
sybdb.h:4016: parse error before "DBFAR"
sybdb.h:4020: parse error before "DBFAR"
sybdb.h:4028: parse error before "DBFAR"
sybdb.h:4032: parse error before "DBFAR"
sybdb.h:4038: parse error before '*' token
sybdb.h:4038: parse error before '*' token
sybdb.h:4041: warning: data definition has no type or storage class
sybdb.h:4042: parse error before '*' token
sybdb.h:4045: parse error before '*' token
sybdb.h:4051: parse error before '*' token
sybdb.h:4057: parse error before '*' token
sybdb.h:4061: parse error before '*' token
sybdb.h:4065: parse error before '*' token
sybdb.h:4070: parse error before '*' token
sybdb.h:4074: parse error before '*' token
sybdb.h:4078: parse error before '*' token
sybdb.h:4084: parse error before '*' token
sybdb.h:4087: parse error before '*' token
example1.c: In function `main':
example1.c:35: `EHANDLEFUNC' undeclared (first use in this function)
example1.c:35: (Each undeclared identifier is reported only once
example1.c:35: for each function it appears in.)
example1.c:35: parse error before "err_handler"
example1.c:36: `MHANDLEFUNC' undeclared (first use in this function)
example1.c:36: parse error before "msg_handler"
example1.c:38: warning: assignment from incompatible pointer type
example1.c:43: warning: assignment from incompatible pointer type
example1.c:60: parse error before "DBFAR"
example1.c:62: parse error before "DBFAR"
example1.c:65: parse error before "DBFAR"
*** Error code 1
make: Fatal error: Command failed for target `example1'
*******************Internet Email Confidentiality Footer*******************
Privileged/Confidential Information may be contained in this message. If you
are not the addressee indicated in this message (or responsible for delivery of
the message to such person), you may not copy or deliver this message to anyone.
In such case, you should destroy this message and kindly notify the sender by
reply email. Please advise immediately if you or your employer does not consent
to Internet email for messages of this kind. Opinions, conclusions and other
information in this message that do not relate to the official business of my
firm shall be understood as neither given nor endorsed by it.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: parse errors
2003-03-15 17:33 ` LLeweLLyn Reese
@ 2003-03-17 10:36 ` dunk
0 siblings, 0 replies; 5+ messages in thread
From: dunk @ 2003-03-17 10:36 UTC (permalink / raw)
To: gcc-help
ok - ill look into this more,
thanks
>
> These errors indicate that the code does not namespace qualify
> standard library components correctly. Example:
>
> Email the developers of these projects.
--
----------------------------------------------------------------
http://www.dunkfordyce.co.uk
Tagline for Monday, March 17, 2003
Useless Invention: Ice skate sandals, for use in hot climates.
dunk fordyce is d1223m @ #linuxhelp @ irc.freenode.net
----------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: parse errors
2003-03-15 14:18 parse errors dunk
@ 2003-03-15 17:33 ` LLeweLLyn Reese
2003-03-17 10:36 ` dunk
0 siblings, 1 reply; 5+ messages in thread
From: LLeweLLyn Reese @ 2003-03-15 17:33 UTC (permalink / raw)
To: dunk; +Cc: gcc-help
dunk@dunkfordyce.co.uk writes:
> hello, i installed gcc 3.2.2 on my LFS box and seem to have some problems.
> almost everything compiles fine but the apps/libs that wont compile fail with the same sort of error so i am beginning to think ive broken something.
>
> the errors i get from projects all seem to be:
> parse error before <some token> token
>
> at least these always seem to be the first errors.
>
> checking the code where these errors are provides no clues, the code looks fine as far as i can tell.
>
> below is what make reports when trying to build tism ( a tcl music app )
> i can include more just like it ;) but my gut feeling says that its
> probably more todo with gcc setup/compiliation/configuration than
> the actual projects.
[snip]
These errors indicate that the code does not namespace qualify
standard library components correctly. Example:
int main()
{
cout << "Hello world" << endl;
}
must become:
int main()
{
std::cout << "Hello world" << std::endl;
}
or:
using std::cout;
using std::endl;
int main()
{
cout << "Hello world" << endl;
}
or:
using namespace std;
int main()
{
cout << "Hello world" << endl;
}
Email the developers of these projects.
^ permalink raw reply [flat|nested] 5+ messages in thread
* parse errors
@ 2003-03-15 14:18 dunk
2003-03-15 17:33 ` LLeweLLyn Reese
0 siblings, 1 reply; 5+ messages in thread
From: dunk @ 2003-03-15 14:18 UTC (permalink / raw)
To: gcc-help
hello, i installed gcc 3.2.2 on my LFS box and seem to have some problems.
almost everything compiles fine but the apps/libs that wont compile fail with the same sort of error so i am beginning to think ive broken something.
the errors i get from projects all seem to be:
parse error before <some token> token
at least these always seem to be the first errors.
checking the code where these errors are provides no clues, the code looks fine as far as i can tell.
below is what make reports when trying to build tism ( a tcl music app )
i can include more just like it ;) but my gut feeling says that its probably more todo with gcc setup/compiliation/configuration than the actual projects.
thanks
dunk fordyce
Making all in src
make[1]: Entering directory `/usr/src/tism-0.1.1/src'
Making all in general
make[2]: Entering directory `/usr/src/tism-0.1.1/src/general'
c++ -DPACKAGE=\"tism\" -DVERSION=\"0.1\" -DHAVE_LIBMENU=1 -DHAVE_LIBNCURSES=1 -DHAVE_LIBPTHREAD=1 -DHAVE_SYS_TIME_H=1 -DHAVE_FCNTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_TCL_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_PTHREAD_H=1 -DHAVE_SEMAPHORE_H=1 -DHAVE_CURSES_H=1 -DHAVE_MENU_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -I. -I. -O3 -pipe -c ysscheduler.cpp
In file included from ../general/ysscheduler.h:5,
from ysscheduler.cpp:1:
../util/ysdate.h:58: ISO C++ forbids declaration of `ostream' with no type
../util/ysdate.h:58: `ostream' is neither function nor member function; cannot
be declared friend
../util/ysdate.h:58: parse error before `&' token
../util/ysdate.h:59: ISO C++ forbids declaration of `istream' with no type
../util/ysdate.h:59: `istream' is neither function nor member function; cannot
be declared friend
../util/ysdate.h:59: parse error before `&' token
../util/ysdate.h: In member function `void ysdate::output() const':
../util/ysdate.h:56: `cout' undeclared (first use this function)
../util/ysdate.h:56: (Each undeclared identifier is reported only once for each
function it appears in.)
../util/ysdate.h: At global scope:
../util/ysdate.h:63: syntax error before `&' token
../util/ysdate.h:64: syntax error before `&' token
In file included from ysscheduler.cpp:1:
../general/ysscheduler.h:13: parse error before `{' token
../general/ysscheduler.h:16: parse error before `{' token
../general/ysscheduler.h:19: parse error before `{' token
../general/ysscheduler.h:22: parse error before `{' token
../general/ysscheduler.h:25: parse error before `&' token
../general/ysscheduler.h:26: parse error before `char'
../general/ysscheduler.h:56: invalid use of undefined type `class
real_time_problem'
../general/ysscheduler.h:15: forward declaration of `class real_time_problem'
../general/ysscheduler.h:62: invalid use of undefined type `class
memory_lock_problem'
../general/ysscheduler.h:18: forward declaration of `class memory_lock_problem'
../general/ysscheduler.h:67: invalid use of undefined type `class
bad_waiting_time'
../general/ysscheduler.h:12: forward declaration of `class bad_waiting_time'
In file included from ysscheduler.cpp:6:
../util/ysmessage.h:19: 'vector' is used as a type, but is not defined as a
type.
../util/ysmessage.h:26: syntax error before `&' token
../util/ysmessage.h:30: ISO C++ forbids declaration of `ostream' with no type
../util/ysmessage.h:30: `ostream' is neither function nor member function;
cannot be declared friend
../util/ysmessage.h:30: parse error before `&' token
../util/ysmessage.h:31: ISO C++ forbids declaration of `istream' with no type
../util/ysmessage.h:31: `istream' is neither function nor member function;
cannot be declared friend
../util/ysmessage.h:31: parse error before `&' token
../util/ysmessage.h: In constructor `ysmessage::ysmessage(int)':
../util/ysmessage.h:24: class `ysmessage' does not have any field named `data'
../util/ysmessage.h: At global scope:
../util/ysmessage.h:34: syntax error before `&' token
../util/ysmessage.h:35: syntax error before `&' token
../util/ysmessage.h:55: ISO C++ forbids declaration of `ostream' with no type
../util/ysmessage.h:55: `ostream' is neither function nor member function;
cannot be declared friend
../util/ysmessage.h:55: parse error before `&' token
../util/ysmessage.h:56: ISO C++ forbids declaration of `istream' with no type
../util/ysmessage.h:56: `istream' is neither function nor member function;
cannot be declared friend
../util/ysmessage.h:56: parse error before `&' token
../util/ysmessage.h:60: syntax error before `&' token
../util/ysmessage.h:61: syntax error before `&' token
../util/ysmessage.h:89: ISO C++ forbids declaration of `ostream' with no type
../util/ysmessage.h:89: `ostream' is neither function nor member function;
cannot be declared friend
../util/ysmessage.h:89: parse error before `&' token
../util/ysmessage.h:90: ISO C++ forbids declaration of `istream' with no type
../util/ysmessage.h:90: `istream' is neither function nor member function;
cannot be declared friend
../util/ysmessage.h:90: parse error before `&' token
../util/ysmessage.h:94: syntax error before `&' token
../util/ysmessage.h:95: syntax error before `&' token
In file included from ../interpreter/ysinterpreter_command.h:7,
from ../filter/ysfilter.h:5,
from ../filter/ysfilter_system.h:5,
from ysscheduler.cpp:7:
../interpreter/ysinterpreter.h:22: parse error before `{' token
../interpreter/ysinterpreter.h:27: parse error before `*' token
../interpreter/ysinterpreter.h:31: parse error before `}' token
../interpreter/ysinterpreter.h:40: 'vector' is used as a type, but is not
defined as a type.
../interpreter/ysinterpreter.h:68: `string' was not declared in this scope
../interpreter/ysinterpreter.h:68: parse error before `)' token
../interpreter/ysinterpreter.h: In member function `ysinterpreter*
ysinterpreter_system::get_ysinterpreter(int)':
../interpreter/ysinterpreter.h:55: `interpvector' undeclared (first use this
function)
../interpreter/ysinterpreter.h: At global scope:
../interpreter/ysinterpreter.h:112: invalid use of undefined type `class
ysinterpreter_error'
../interpreter/ysinterpreter.h:21: forward declaration of `class
ysinterpreter_error'
../interpreter/ysinterpreter.h:114: invalid use of undefined type `class
ysinterpreter_error'
../interpreter/ysinterpreter.h:21: forward declaration of `class
ysinterpreter_error'
In file included from ../filter/ysfilter.h:5,
from ../filter/ysfilter_system.h:5,
from ysscheduler.cpp:7:
../interpreter/ysinterpreter_command.h:87: invalid use of undefined type `class
ysinterpreter_error'
../interpreter/ysinterpreter.h:21: forward declaration of `class
ysinterpreter_error'
../interpreter/ysinterpreter_command.h:89: invalid use of undefined type `class
ysinterpreter_error'
../interpreter/ysinterpreter.h:21: forward declaration of `class
ysinterpreter_error'
../interpreter/ysinterpreter_command.h:110: invalid use of undefined type `
class ysinterpreter_error'
../interpreter/ysinterpreter.h:21: forward declaration of `class
ysinterpreter_error'
../interpreter/ysinterpreter_command.h:112: invalid use of undefined type `
class ysinterpreter_error'
../interpreter/ysinterpreter.h:21: forward declaration of `class
ysinterpreter_error'
In file included from ../filter/ysfilter_system.h:5,
from ysscheduler.cpp:7:
../filter/ysfilter.h:15: 'vector' is used as a type, but is not defined as a
type.
../filter/ysfilter.h:37: `vector' was not declared in this scope
../filter/ysfilter.h:37: parse error before `*' token
In file included from ../filter/ysfilter_system.h:6,
from ysscheduler.cpp:7:
../util/ysmapper.h:14: parse error before `{' token
../util/ysmapper.h:15: parse error before `{' token
In file included from ../util/ysmapper.h:96,
from ../filter/ysfilter_system.h:6,
from ysscheduler.cpp:7:
../util/ysmapper.cpp:48: default argument given for parameter 3 of `bool
ysmapper<ASSOC_TYPE>::get_assoc(ASSOC_TYPE*&, const ysmessage&, int = 0)'
../util/ysmapper.h:45: after previous specification in `bool
ysmapper<ASSOC_TYPE>::get_assoc(ASSOC_TYPE*&, const ysmessage&, int = 0)'
../util/ysmapper.cpp:66: default argument given for parameter 3 of `void
ysmapper<ASSOC_TYPE>::add_assoc(ASSOC_TYPE*&, const ysmessage&, int = 0)'
../util/ysmapper.h:48: after previous specification in `void
ysmapper<ASSOC_TYPE>::add_assoc(ASSOC_TYPE*&, const ysmessage&, int = 0)'
../util/ysmapper.cpp:94: default argument given for parameter 2 of `void
ysmapper<ASSOC_TYPE>::del_assoc(const ysmessage&, int = 0)'
../util/ysmapper.h:50: after previous specification in `void
ysmapper<ASSOC_TYPE>::del_assoc(const ysmessage&, int = 0)'
In file included from ysscheduler.cpp:7:
../filter/ysfilter_system.h:20: 'vector' is used as a type, but is not defined
as a type.
../filter/ysfilter_system.h:51: `list' was not declared in this scope
../filter/ysfilter_system.h:51: parse error before `*' token
../filter/ysfilter_system.h:60: 'vector' is used as a type, but is not defined
as a type.
../util/ysmapper.cpp: In instantiation of `ysmapper<ysfilter>':
../filter/ysfilter_system.h:61: instantiated from here
../util/ysmapper.cpp:39: invalid use of undefined type `class
ysmapper_outoflimit_error'
../util/ysmapper.h:15: forward declaration of `class ysmapper_outoflimit_error'
../util/ysmapper.cpp:66: invalid use of undefined type `class
ysmapper_add_error'
../util/ysmapper.h:14: forward declaration of `class ysmapper_add_error'
../filter/ysfilter_system.h:86: `list' was not declared in this scope
../filter/ysfilter_system.h:86: parse error before `*' token
In file included from ../iohandler/ysiohandler.h:8,
from ysscheduler.cpp:9:
../protocol/ysprotocol.h:15: parse error before `{' token
../protocol/ysprotocol.h:18: 'string' is used as a type, but is not defined as
a type.
../protocol/ysprotocol.h:19: parse error before `,' token
../protocol/ysprotocol.h:25: base class `ysprotocol_error' has incomplete type
../protocol/ysprotocol.h:27: parse error before `pname'
../protocol/ysprotocol.h:28: missing ';' before right brace
../protocol/ysprotocol.h:29: parse error before `}' token
../protocol/ysprotocol.h:33: base class `ysprotocol_error' has incomplete type
../protocol/ysprotocol.h:35: parse error before `pname'
../protocol/ysprotocol.h:36: missing ';' before right brace
../protocol/ysprotocol.h:37: parse error before `}' token
../protocol/ysprotocol.h:41: base class `ysprotocol_error' has incomplete type
../protocol/ysprotocol.h:43: parse error before `pname'
../protocol/ysprotocol.h:44: missing ';' before right brace
../protocol/ysprotocol.h:45: parse error before `}' token
../protocol/ysprotocol.h:55: 'string' is used as a type, but is not defined as
a type.
../protocol/ysprotocol.h:65: `string' was not declared in this scope
../protocol/ysprotocol.h:65: `filename' was not declared in this scope
../protocol/ysprotocol.h:65: invalid data member initialization
../protocol/ysprotocol.h:65: (use `=' to initialize static data members)
../protocol/ysprotocol.h:65: variable or field `get_file_name' declared void
../protocol/ysprotocol.h:65: `get_file_name' declared as a `virtual' field
../protocol/ysprotocol.h:68: `string' was not declared in this scope
../protocol/ysprotocol.h:68: parse error before `)' token
In file included from ysscheduler.cpp:9:
../iohandler/ysiohandler.h:21: parse error before `{' token
../iohandler/ysiohandler.h:26: 'vector' is used as a type, but is not defined
as a type.
../iohandler/ysiohandler.h:27: 'vector' is used as a type, but is not defined
as a type.
../iohandler/ysiohandler.h:46: `string' was not declared in this scope
../iohandler/ysiohandler.h:46: parse error before `,' token
../iohandler/ysiohandler.h:47: invalid use of undefined type `class
ysprotocol_pos_error'
../iohandler/ysiohandler.h:21: forward declaration of `class
ysprotocol_pos_error'
../iohandler/ysiohandler.h:47: invalid use of undefined type `class
ysprotocol_error'
../protocol/ysprotocol.h:14: forward declaration of `class ysprotocol_error'
../iohandler/ysiohandler.h:48: `string' was not declared in this scope
../iohandler/ysiohandler.h:48: parse error before `,' token
../iohandler/ysiohandler.h:49: invalid use of undefined type `class
ysprotocol_pos_error'
../iohandler/ysiohandler.h:21: forward declaration of `class
ysprotocol_pos_error'
../iohandler/ysiohandler.h:49: invalid use of undefined type `class
ysprotocol_error'
../protocol/ysprotocol.h:14: forward declaration of `class ysprotocol_error'
../iohandler/ysiohandler.h:53: invalid use of undefined type `class
ysprotocol_pos_error'
../iohandler/ysiohandler.h:21: forward declaration of `class
ysprotocol_pos_error'
../iohandler/ysiohandler.h:55: invalid use of undefined type `class
ysprotocol_pos_error'
../iohandler/ysiohandler.h:21: forward declaration of `class
ysprotocol_pos_error'
../iohandler/ysiohandler.h:60: invalid use of undefined type `class
ysprotocol_pos_error'
../iohandler/ysiohandler.h:21: forward declaration of `class
ysprotocol_pos_error'
../iohandler/ysiohandler.h:62: invalid use of undefined type `class
ysprotocol_pos_error'
../iohandler/ysiohandler.h:21: forward declaration of `class
ysprotocol_pos_error'
../iohandler/ysiohandler.h:65: `list' was not declared in this scope
../iohandler/ysiohandler.h:65: parse error before `*' token
../iohandler/ysiohandler.h:66: invalid use of undefined type `class
ysprotocol_error'
../protocol/ysprotocol.h:14: forward declaration of `class ysprotocol_error'
../iohandler/ysiohandler.h:69: `list' was not declared in this scope
../iohandler/ysiohandler.h:69: parse error before `*' token
../iohandler/ysiohandler.h:70: invalid use of undefined type `class
ysprotocol_error'
../protocol/ysprotocol.h:14: forward declaration of `class ysprotocol_error'
In file included from ysscheduler.cpp:11:
../interpreter/yscontrol_system.h:16: parse error before `{' token
../interpreter/yscontrol_system.h:19: parse error before `)' token
../util/ysmapper.cpp: In instantiation of `ysmapper<yscontrol_command>':
../interpreter/yscontrol_system.h:33: instantiated from here
../util/ysmapper.cpp:39: invalid use of undefined type `class
ysmapper_outoflimit_error'
../util/ysmapper.h:15: forward declaration of `class ysmapper_outoflimit_error'
../util/ysmapper.cpp:66: invalid use of undefined type `class
ysmapper_add_error'
../util/ysmapper.h:14: forward declaration of `class ysmapper_add_error'
../interpreter/yscontrol_system.h:34: 'vector' is used as a type, but is not
defined as a type.
../interpreter/yscontrol_system.h:36: 'vector' is used as a type, but is not
defined as a type.
../interpreter/yscontrol_system.h:37: 'list' is used as a type, but is not
defined as a type.
../interpreter/yscontrol_system.h:61: `list' was not declared in this scope
../interpreter/yscontrol_system.h:61: parse error before `*' token
../interpreter/yscontrol_system.h: In member function `int
yscontrol_system::get_nbmax_command()':
../interpreter/yscontrol_system.h:48: `command_vect' undeclared (first use this
function)
In file included from ../sequence/yssequence_system.h:8,
from ../display/ysview.h:14,
from ../display/ysdisplay_system.h:7,
from ysscheduler.cpp:12:
../sequence/yssequence.h: At global scope:
../sequence/yssequence.h:29: 'string' is used as a type, but is not defined as
a type.
../sequence/yssequence.h:32: 'list' is used as a type, but is not defined as a
type.
../sequence/yssequence.h:52: syntax error before `::' token
../sequence/yssequence.h:55: syntax error before `::' token
../sequence/yssequence.h:60: syntax error before `::' token
../sequence/yssequence.h:80: parse error before `&' token
../sequence/yssequence.h:81: ISO C++ forbids declaration of `string' with no
type
../sequence/yssequence.h:81: parse error before `&' token
../sequence/yssequence.h:83: non-member function `bool get_muted()' cannot have
`const' method qualifier
../sequence/yssequence.h: In function `bool get_muted()':
../sequence/yssequence.h:83: `muted' undeclared (first use this function)
../sequence/yssequence.h: At global scope:
../sequence/yssequence.h:90: non-member function `int get_output_channel()'
cannot have `const' method qualifier
../sequence/yssequence.h: In function `int get_output_channel()':
../sequence/yssequence.h:90: `output_channel' undeclared (first use this
function)
../sequence/yssequence.h: At global scope:
../sequence/yssequence.h:93: non-member function `const ysrythmic_def&
get_rythmic_def()' cannot have `const' method qualifier
../sequence/yssequence.h: In function `const ysrythmic_def& get_rythmic_def()':
../sequence/yssequence.h:93: `rdef' undeclared (first use this function)
../sequence/yssequence.h: At global scope:
../sequence/yssequence.h:100: non-member function `ysdate get_seq_length()'
cannot have `const' method qualifier
../sequence/yssequence.h: In function `ysdate get_seq_length()':
../sequence/yssequence.h:100: `seq_length' undeclared (first use this function)
../sequence/yssequence.h: At global scope:
../sequence/yssequence.h:111: non-member function `const ysrythmic_def&
get_quantize()' cannot have `const' method qualifier
../sequence/yssequence.h: In function `const ysrythmic_def& get_quantize()':
../sequence/yssequence.h:111: `quant' undeclared (first use this function)
../sequence/yssequence.h: At global scope:
../sequence/yssequence.h:114: non-member function `bool is_playing()' cannot
have `const' method qualifier
../sequence/yssequence.h:160: `ostream' was not declared in this scope
../sequence/yssequence.h:160: `os' was not declared in this scope
../sequence/yssequence.h:161: `istream' was not declared in this scope
../sequence/yssequence.h:161: `is' was not declared in this scope
../sequence/yssequence.h:163: `ostream' was not declared in this scope
../sequence/yssequence.h:163: `os' was not declared in this scope
../sequence/yssequence.h:163: variable or field `output' declared void
../sequence/yssequence.h:164: parse error before `}' token
../sequence/yssequence.h: In member function `bool
yscmpseqmess::operator()(ysdmessage_seq*, ysdmessage_seq*)':
../sequence/yssequence.h:186: no matching function for call to `yssequence::
calculate_output_date(float&, ysdate&, ysdate&, bool)'
In file included from ../sequence/yssequence_system.h:9,
from ../display/ysview.h:14,
from ../display/ysdisplay_system.h:7,
from ysscheduler.cpp:12:
../sequence/ysdispatcher.h: At global scope:
../sequence/ysdispatcher.h:25: syntax error before `::' token
../sequence/ysdispatcher.h:26: syntax error before `::' token
../sequence/ysdispatcher.h:33: 'list' is used as a type, but is not defined as
a type.
../sequence/ysdispatcher.h:34: 'list' is used as a type, but is not defined as
a type.
../sequence/ysdispatcher.h:57: `list' was not declared in this scope
../sequence/ysdispatcher.h:57: parse error before `*' token
In file included from ../display/ysview.h:14,
from ../display/ysdisplay_system.h:7,
from ysscheduler.cpp:12:
../sequence/yssequence_system.h:20: 'vector' is used as a type, but is not
defined as a type.
../sequence/yssequence_system.h:44: parse error before `&' token
../sequence/yssequence_system.h:49: parse error before `&' token
../sequence/yssequence_system.h:63: `list' was not declared in this scope
../sequence/yssequence_system.h:63: parse error before `*' token
../sequence/yssequence_system.h: In member function `int
yssequence_system::get_nbmax_seq()':
../sequence/yssequence_system.h:40: `seq_vect' undeclared (first use this
function)
In file included from ../display/ysdisplay_system.h:7,
from ysscheduler.cpp:12:
../display/ysview.h: At global scope:
../display/ysview.h:34: ISO C++ forbids declaration of `string' with no type
../display/ysview.h:34: parse error before `;' token
../display/ysview.h:36: `s' was not declared in this scope
../display/ysview.h:36: invalid data member initialization
../display/ysview.h:36: variable or field `add_str' declared void
../display/ysview.h:55: `str' was not declared in this scope
../display/ysview.h:55: invalid data member initialization
../display/ysview.h:55: variable or field `add_string' declared void
../display/ysview.h:57: declaration of `void ysview::add_string(const char*)'
../display/ysview.h:55: conflicts with previous declaration `int
ysview::add_string'
../display/ysview.h:71: `s' was not declared in this scope
../display/ysview.h:71: invalid data member initialization
../display/ysview.h:71: variable or field `set_user_str' declared void
../display/ysview.h:81: 'list' is used as a type, but is not defined as a type.
../display/ysview.h:88: `list' was not declared in this scope
../display/ysview.h:88: parse error before `*' token
In file included from yssystemobj.h:15,
from ysscheduler.cpp:14:
../interpreter/ysvariable_system.h:5:20: hash_map: No such file or directory
../interpreter/ysvariable_system.h:7:16: rope: No such file or directory
In file included from yssystemobj.h:15,
from ysscheduler.cpp:14:
../interpreter/ysvariable_system.h:57: parse error before `&' token
../interpreter/ysvariable_system.h: In member function `size_t
hashstr::operator()(...) const':
../interpreter/ysvariable_system.h:59: `hash' undeclared (first use this
function)
../interpreter/ysvariable_system.h:59: parse error before `;' token
../interpreter/ysvariable_system.h:60: `s1' undeclared (first use this
function)
../interpreter/ysvariable_system.h:60: `h' undeclared (first use this function)
../interpreter/ysvariable_system.h: At global scope:
../interpreter/ysvariable_system.h:66: `string' was not declared in this scope
../interpreter/ysvariable_system.h:66: 'hash_map' is used as a type, but is not
defined as a type.
../interpreter/ysvariable_system.h: In member function `void
ysvariable_system::set_var(char*, Tcl_Obj* const&)':
../interpreter/ysvariable_system.h:75: `hmap' undeclared (first use this
function)
In file included from yssystemobj.h:17,
from ysscheduler.cpp:14:
../sequence/ysinput_buffer.h: At global scope:
../sequence/ysinput_buffer.h:22: 'list' is used as a type, but is not defined
as a type.
../sequence/ysinput_buffer.h:36: `list' was not declared in this scope
../sequence/ysinput_buffer.h:36: parse error before `*' token
ysscheduler.cpp:39: default argument given for parameter 1 of `void
ysscheduler::init(char* = 0)'
../general/ysscheduler.h:51: after previous specification in `void
ysscheduler::init(char* = 0)'
ysscheduler.cpp: In member function `void ysscheduler::init(char*)':
ysscheduler.cpp:43: invalid use of undefined type `class init_error'
../general/ysscheduler.h:21: forward declaration of `class init_error'
ysscheduler.cpp:55: invalid use of undefined type `class ysinterpreter_error'
../interpreter/ysinterpreter.h:21: forward declaration of `class
ysinterpreter_error'
ysscheduler.cpp:59: `e' undeclared (first use this function)
ysscheduler.cpp:59: invalid use of undefined type `class init_error'
../general/ysscheduler.h:21: forward declaration of `class init_error'
ysscheduler.cpp: At global scope:
ysscheduler.cpp:69: invalid use of undefined type `class bad_waiting_time'
../general/ysscheduler.h:12: forward declaration of `class bad_waiting_time'
ysscheduler.cpp: In member function `void
ysscheduler::set_max_waiting_time(int)':
ysscheduler.cpp:74: invalid use of undefined type `class bad_waiting_time'
../general/ysscheduler.h:12: forward declaration of `class bad_waiting_time'
ysscheduler.cpp: At global scope:
ysscheduler.cpp:81: invalid use of undefined type `class real_time_problem'
../general/ysscheduler.h:15: forward declaration of `class real_time_problem'
ysscheduler.cpp: In member function `bool ysscheduler::real_time_on()':
ysscheduler.cpp:88: invalid use of undefined type `class real_time_problem'
../general/ysscheduler.h:15: forward declaration of `class real_time_problem'
ysscheduler.cpp: At global scope:
ysscheduler.cpp:107: invalid use of undefined type `class memory_lock_problem'
../general/ysscheduler.h:18: forward declaration of `class memory_lock_problem'
ysscheduler.cpp: In member function `bool ysscheduler::memory_lock()':
ysscheduler.cpp:111: invalid use of undefined type `class memory_lock_problem'
../general/ysscheduler.h:18: forward declaration of `class memory_lock_problem'
ysscheduler.cpp: In member function `void ysscheduler::schedule_loop()':
ysscheduler.cpp:127: `list' undeclared (first use this function)
ysscheduler.cpp:127: parse error before `*' token
ysscheduler.cpp:131: parse error before `*' token
ysscheduler.cpp:160: `inlist' undeclared (first use this function)
ysscheduler.cpp:161: `seqlist' undeclared (first use this function)
ysscheduler.cpp:182: invalid use of undefined type `class control_thread_error'
../interpreter/yscontrol_system.h:15: forward declaration of `class
control_thread_error'
ysscheduler.cpp:183: `cerr' undeclared (first use this function)
ysscheduler.cpp:183: `endl' undeclared (first use this function)
ysscheduler.cpp:213: invalid use of undefined type `class control_thread_error'
../interpreter/yscontrol_system.h:15: forward declaration of `class
control_thread_error'
ysscheduler.cpp:237: invalid use of undefined type `class ysprotocol_error'
../protocol/ysprotocol.h:14: forward declaration of `class ysprotocol_error'
ysscheduler.cpp:242: `string' undeclared (first use this function)
ysscheduler.cpp:242: parse error before `=' token
ysscheduler.cpp:243: `s' undeclared (first use this function)
make[2]: *** [ysscheduler.o] Error 1
make[2]: Leaving directory `/usr/src/tism-0.1.1/src/general'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/tism-0.1.1/src'
make: *** [all-recursive] Error 1
--
----------------------------------------------------------------
http://www.dunkfordyce.co.uk
Tagline for Saturday, March 15, 2003
A penny saved is a Congressional spending oversight.
dunk fordyce is d1223m @ #linuxhelp @ irc.freenode.net
----------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Parse errors....
[not found] <616BE6A276E3714788D2AC35C40CD18D3942FF@whale.softwire.co.uk>
@ 2002-01-30 3:33 ` Rupert Wood
0 siblings, 0 replies; 5+ messages in thread
From: Rupert Wood @ 2002-01-30 3:33 UTC (permalink / raw)
To: kabir.patel; +Cc: gcc-help
Kabir Patel wrote:
> I get the following errors and do not even understand what they mean
> (what's a parse error?) Why doesn't it read the * correctly?
It's not the most useful error message certainly. Nine times out of ten
(in my experience) it means that you've attempted to use an undefined
type; check all the pointer types on that line have been defined.
Rup.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-03-17 9:25 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-30 3:26 Parse errors kabir.patel
[not found] <616BE6A276E3714788D2AC35C40CD18D3942FF@whale.softwire.co.uk>
2002-01-30 3:33 ` Rupert Wood
2003-03-15 14:18 parse errors dunk
2003-03-15 17:33 ` LLeweLLyn Reese
2003-03-17 10:36 ` dunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).