Re: version 4.03 gets() function warning

new topic     » goto parent     » topic index » view thread      » older message » newer message
BRyan said...

The following program can be used to demonstrate the problem

...

In other words if you write code to strip off 13,10 ending and translate with a different compiler
You will get different results than what you were expecting

I have no idea why. just confirming the difference.

 Enter a short sequence like ' abcd ' : abcd 
{97,98,99,100,10}  wat4.0 eui & euc translated 
{97,98,99,100,10}  wat4.1 
{97,98,99,100,13,10}  minGW 4.0  eui & euc  translated 
{97,98,99,100,10}  minGW 4.1  eui & euc  translated 
 
minGW gcc is 4.52

I didn't try the latest eubin cross compiled version.

when you translate, I believe the source created is the same -wat or -gcc using euc built with watcom or minGW, just the build system changes.

maybe there is a text/binary mode for get()?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu