Main Page | Report this Page
Computers Forum Index  »  Computer Languages (Perl - Modules)  »  XML::SAX::ExpatXS...
Page 1 of 1    

XML::SAX::ExpatXS...

Author Message
sisyphus...
Posted: Tue Aug 25, 2009 1:32 am
Guest
On Aug 25, 12:25 am, PhilipL <phil3.... at (no spam) gmail.com> wrote:

Quote:
"ExpatXS.xs", line 657.13: 1506-046 (S) Syntax error.

Looking at ExpatXS.xs, I find that line 657 is:

// -pc -

I expect that is meant to be some sort of comment, but your compiler
doesn't recognize the "//" as denoting comment. (Strictly speaking, I
don't think it's part of the ANSI C standard, so C compilers are not
obliged to recognize the "//", though many of them do.)

Try changing line 657 to:

/* -pc - */

Assuming that works, you might then like to file a bug report and/or
notify the author.

Cheers,
Rob
 
Peter J. Holzer...
Posted: Tue Aug 25, 2009 2:09 pm
Guest
On 2009-08-25 01:32, sisyphus <sisyphus359 at (no spam) gmail.com> wrote:
Quote:
On Aug 25, 12:25 am, PhilipL <phil3.... at (no spam) gmail.com> wrote:
"ExpatXS.xs", line 657.13: 1506-046 (S) Syntax error.

Looking at ExpatXS.xs, I find that line 657 is:

// -pc -

I expect that is meant to be some sort of comment, but your compiler
doesn't recognize the "//" as denoting comment. (Strictly speaking, I
don't think it's part of the ANSI C standard, so C compilers are not
obliged to recognize the "//", though many of them do.)

It's part of the C99 standard, but many compilers still don't support
that (even though it's now 10 years old), and even if they do, it's not
the default. gcc, for example, needs the -std=c99 flag (gcc also is
still quite a bit away from full conformance).

hp
 
 
Page 1 of 1    
All times are GMT
The time now is Sun Nov 29, 2009 10:45 am