Miscrosoft C Implementation Weirdness

After over an hour of debugging 10 lines of code today I came to the conclusion that there is a difference between the implementation of strlen() in C on Windows using the compiler shipped with Visual Studio and GCC on Linux resulting in different return values because some characters are included and others are not.

Over. An. Hour.

Can't they get anything right?

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <br> <br />
  • Lines and paragraphs break automatically.
  • Textual smileys will be replaced with graphical ones.

More information about formatting options