[GCC-XML] Re: syntax error

Kedar Joshi kpjoshi at gmail.com
Tue Nov 2 14:08:31 EST 2004


Please ignore my previous email. It's illegal in C/C++, that's why i
got a syntax error.


On Tue, 2 Nov 2004 11:39:07 -0500, Kedar Joshi <kpjoshi at gmail.com> wrote:
> Hello,
> 
> I am getting a "syntax error before '[' token" error when i run gccxml
> on the following line - int[] echoIntArray(int[])
> 
> If i use the pointer notation just for the return type instead - int*
> echoIntArray(int[]), the error doesn't occur.
> 
> Anyone know why this is happening?
> 
> thanks,
> Kedar
>



More information about the gccxml mailing list