Re: version 4.03 gets() function warning
- Posted by ne1uno Nov 06, 2011
- 1329 views
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 translatedminGW 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()?