Hey thomas,
I finally got access to codewarrior 8 the full version and now I'm still having trouble with the included .cw files (just compling the tutorial examples.)
First off I had to change all the "access paths" because CW could not find any of the files, I guess you should put that in the readme along with the note about adding source trees.
Now that the project itself is not giving me any errors I can't compile the simple1 example because CW sees errors in the maxosxSDK!!! The error log follows. I tried downloading the sdk again thinking I needed to update the version, but still no luck.
Any help would be appreciated!
Thanks Ben
Error : end of line expected (included from: ext_proto.h:6 ext.h:29 flstdc.h:95 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) ext_types.h line 8 #endif __MOTO__
Error : end of line expected (included from: ext.h:29 flstdc.h:95 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) ext_proto.h line 63 #endif WIN_VERSION
Error : declaration syntax error (included from: stdio.posix.h:16 extras.h:15 cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) file_struc.h line 125 wchar_t ungetwc_buffer[__ungetc_buffer_size];
Warning : illegal empty declaration (included from: stdio.posix.h:16 extras.h:15 cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) file_struc.h line 145 };
Warning : illegal empty declaration (included from: stdio.posix.h:16 extras.h:15 cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) file_struc.h line 145 };
Error : declaration syntax error (included from: stdio.posix.h:17 extras.h:15 cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) stdio_api.h line 65 wchar_t * wCharStr;
Error : declaration syntax error (included from: stdio.posix.h:17 extras.h:15 cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) stdio_api.h line 68 } __wOutStrCtrl;
Error : declaration syntax error (included from: stdio.posix.h:17 extras.h:15 cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) stdio_api.h line 72 wchar_t * wNextChar;
Error : declaration syntax error (included from: stdio.posix.h:17 extras.h:15 cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) stdio_api.h line 74 } __wInStrCtrl;
Error : ')' expected (included from: stdio.posix.h:17 extras.h:15 cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) stdio_api.h line 76 void * _MSL_CDECL __wFileWrite(void *, int const wchar_t *, size_t); /*- cc 020108 -*/
Warning : implicit 'int' is no longer supported in C++ (included from: stdio.posix.h:17 extras.h:15 cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) stdio_api.h line 77 void * _MSL_CDECL __wStringWrite(void *, const wchar_t *, size_t); /*- cc 020108 -*/
Error : ')' expected (included from: stdio.posix.h:17 extras.h:15 cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) stdio_api.h line 77 void * _MSL_CDECL __wStringWrite(void *, const wchar_t *, size_t); /*- cc 020108 -*/
Error : declaration syntax error (included from: stdio.posix.h:17 extras.h:15 cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) stdio_api.h line 78 wint_t __wFileRead(void *, wint_t, int);
Error : declaration syntax error (included from: stdio.posix.h:17 extras.h:15 cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) stdio_api.h line 79 wint_t __wStringRead(void *, wint_t, int);
Error : declaration syntax error (included from: stdio.posix.h:17 extras.h:15 cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) stdio_api.h line 89 _MSL_IMP_EXP_C FILE * _MSL_CDECL __handle_open (__file_handle handle, const char * mode);
Error : declaration syntax error (included from: stdio.posix.h:17 extras.h:15 cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) stdio_api.h line 91 FILE * _MSL_CDECL __handle_reopen(__file_handle handle, const char * mode, FILE * );
Error : declaration syntax error (included from: stdio.posix.h:17 extras.h:15 cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) stdio_api.h line 92 void _MSL_CDECL __set_idle_proc(FILE * , __idle_proc idle_proc);
Error : declaration syntax error (included from: stdio.posix.h:17 extras.h:15 cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) stdio_api.h line 94 }
Error : declaration syntax error (included from: stdio.posix.h:17 extras.h:15 cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) stdio_api.h line 95 }
Error : declaration syntax error (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 94 _MSL_IMP_EXP_C wchar_t * _MSL_CDECL itow(int, wchar_t *, int);
Warning : implicit 'int' is no longer supported in C++ (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 95 _MSL_IMP_EXP_C int _MSL_CDECL wtoi(const wchar_t *_a);
Error : ')' expected (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 95 _MSL_IMP_EXP_C int _MSL_CDECL wtoi(const wchar_t *_a);
Warning : implicit 'int' is no longer supported in C++ (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 96 _MSL_IMP_EXP_C int _MSL_CDECL wcsicmp(const wchar_t *s1, const wchar_t *s2);
Error : ')' expected (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 96 _MSL_IMP_EXP_C int _MSL_CDECL wcsicmp(const wchar_t *s1, const wchar_t *s2);
Warning : implicit 'int' is no longer supported in C++ (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 97 _MSL_IMP_EXP_C int _MSL_CDECL wcsnicmp(const wchar_t *s1, const wchar_t *s2, __std(size_t) n);
Error : ')' expected (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 97 _MSL_IMP_EXP_C int _MSL_CDECL wcsnicmp(const wchar_t *s1, const wchar_t *s2, __std(size_t) n);
Error : declaration syntax error (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 98 _MSL_IMP_EXP_C wchar_t * _MSL_CDECL wstrrev(wchar_t * str);
Error : declaration syntax error (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 99 _MSL_IMP_EXP_C wchar_t * _MSL_CDECL wcsrev(wchar_t *str);
Error : declaration syntax error (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 100 _MSL_IMP_EXP_C wchar_t * _MSL_CDECL wcsupr(wchar_t *str);
Error : declaration syntax error (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 101 _MSL_IMP_EXP_C wchar_t * _MSL_CDECL wcslwr(wchar_t *str);
Error : declaration syntax error (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 102 _MSL_IMP_EXP_C wchar_t * _MSL_CDECL wcsset(wchar_t *str, wchar_t wc);
Error : declaration syntax error (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 103 _MSL_IMP_EXP_C wchar_t * _MSL_CDECL wcsnset(wchar_t *str, wchar_t wc, __std(size_t) n);
Error : declaration syntax error (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 104 _MSL_IMP_EXP_C wchar_t * _MSL_CDECL wcsspnp(const wchar_t *s1, const wchar_t *s2);
Error : declaration syntax error (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 105 _MSL_IMP_EXP_C wchar_t * _MSL_CDECL wcsdup (const wchar_t *str);
Warning : implicit 'int' is no longer supported in C++ (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 106 _MSL_IMP_EXP_C int _MSL_CDECL wcsicoll(const wchar_t *, const wchar_t *);
Error : ')' expected (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 106 _MSL_IMP_EXP_C int _MSL_CDECL wcsicoll(const wchar_t *, const wchar_t *);
Warning : implicit 'int' is no longer supported in C++ (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 107 _MSL_IMP_EXP_C int _MSL_CDECL wcsncoll(const wchar_t *, const wchar_t *, __std(size_t));
Error : ')' expected (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 107 _MSL_IMP_EXP_C int _MSL_CDECL wcsncoll(const wchar_t *, const wchar_t *, __std(size_t));
Warning : implicit 'int' is no longer supported in C++ (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 108 _MSL_IMP_EXP_C int _MSL_CDECL wcsnicoll(const wchar_t *, const wchar_t *, __std(size_t));
Error : ')' expected (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 108 _MSL_IMP_EXP_C int _MSL_CDECL wcsnicoll(const wchar_t *, const wchar_t *, __std(size_t));
Error : declaration syntax error (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 110 _MSL_IMP_EXP_C wchar_t * _MSL_CDECL _itow(int, wchar_t *, int);
Warning : implicit 'int' is no longer supported in C++ (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 111 _MSL_IMP_EXP_C int _MSL_CDECL _wtoi(const wchar_t *_a);
Error : ')' expected (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 111 _MSL_IMP_EXP_C int _MSL_CDECL _wtoi(const wchar_t *_a);
Warning : implicit 'int' is no longer supported in C++ (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 112 _MSL_IMP_EXP_C int _MSL_CDECL _wcsicmp(const wchar_t *s1, const wchar_t *s2);
Error : ')' expected (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 112 _MSL_IMP_EXP_C int _MSL_CDECL _wcsicmp(const wchar_t *s1, const wchar_t *s2);
Warning : implicit 'int' is no longer supported in C++ (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 113 _MSL_IMP_EXP_C int _MSL_CDECL _wcsnicmp(const wchar_t *s1, const wchar_t *s2, __std(size_t) n);
Error : ')' expected (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 113 _MSL_IMP_EXP_C int _MSL_CDECL _wcsnicmp(const wchar_t *s1, const wchar_t *s2, __std(size_t) n);
Error : declaration syntax error (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 114 _MSL_IMP_EXP_C wchar_t * _MSL_CDECL _wstrrev(wchar_t * str);
Error : declaration syntax error (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 115 _MSL_IMP_EXP_C wchar_t * _MSL_CDECL _wcsrev(wchar_t *str);
Error : declaration syntax error (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 116 _MSL_IMP_EXP_C wchar_t * _MSL_CDECL _wcsupr(wchar_t *str);
Error : declaration syntax error (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 117 _MSL_IMP_EXP_C wchar_t * _MSL_CDECL _wcslwr(wchar_t *str);
Error : declaration syntax error (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 118 _MSL_IMP_EXP_C wchar_t * _MSL_CDECL _wcsset(wchar_t *str, wchar_t wc);
Error : declaration syntax error (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 119 _MSL_IMP_EXP_C wchar_t * _MSL_CDECL _wcsnset(wchar_t *str, wchar_t wc, __std(size_t) n);
Error : declaration syntax error (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 120 _MSL_IMP_EXP_C wchar_t * _MSL_CDECL _wcsspnp(const wchar_t *s1, const wchar_t *s2);
Error : declaration syntax error (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 121 _MSL_IMP_EXP_C wchar_t * _MSL_CDECL _wcsdup (const wchar_t *str);
Warning : implicit 'int' is no longer supported in C++ (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 122 _MSL_IMP_EXP_C int _MSL_CDECL _wcsicoll(const wchar_t *, const wchar_t *);
Error : ')' expected (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 122 _MSL_IMP_EXP_C int _MSL_CDECL _wcsicoll(const wchar_t *, const wchar_t *);
Warning : implicit 'int' is no longer supported in C++ (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 123 _MSL_IMP_EXP_C int _MSL_CDECL _wcsncoll(const wchar_t *, const wchar_t *, __std(size_t));
Error : ')' expected (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 123 _MSL_IMP_EXP_C int _MSL_CDECL _wcsncoll(const wchar_t *, const wchar_t *, __std(size_t));
Warning : implicit 'int' is no longer supported in C++ (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 124 _MSL_IMP_EXP_C int _MSL_CDECL _wcsnicoll(const wchar_t *, const wchar_t *, __std(size_t));
Error : ')' expected (included from: cstdlib:28 stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) extras.h line 124 _MSL_IMP_EXP_C int _MSL_CDECL _wcsnicoll(const wchar_t *, const wchar_t *, __std(size_t));
Error : expression syntax error (included from: stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) cstdlib line 149 _MSL_IMP_EXP_C int _MSL_CDECL mbtowc(wchar_t *, const char *, size_t);
Error : declaration syntax error (included from: stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) cstdlib line 150 _MSL_IMP_EXP_C int _MSL_CDECL wctomb(char *, wchar_t);
Error : expression syntax error (included from: stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) cstdlib line 151 _MSL_IMP_EXP_C size_t _MSL_CDECL mbstowcs(wchar_t *, const char * , size_t);
Warning : implicit 'int' is no longer supported in C++ (included from: stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) cstdlib line 152 _MSL_IMP_EXP_C size_t _MSL_CDECL wcstombs(char *, const wchar_t *, size_t);
Error : ')' expected (included from: stdlib.h:17 z_altivec.h:5 z_dsp.h:14 flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) cstdlib line 152 _MSL_IMP_EXP_C size_t _MSL_CDECL wcstombs(char *, const wchar_t *, size_t);
Error : end of line expected (included from: flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) z_dsp.h line 34 #endif WIN_MAL_VERSION
Error : end of line expected (included from: flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) z_dsp.h line 170 #endif TWOPI
Error : end of line expected (included from: flstdc.h:97 flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) z_dsp.h line 173 #endif PIOVERTWO
Error : declaration syntax error (included from: flbase.h:20 flclass.h:20 flext.h:57 main.cpp:14) flstdc.h line 98 }