NO

Author Topic: Version 10.00 is now released  (Read 768 times)

Offline algernon77

  • Member
  • *
  • Posts: 7
Re: Version 10.00 is now released
« Reply #15 on: July 29, 2020, 09:03:46 pm »
Thanks again!

Today I added a couple of UTF-8 BOM files (saved with Notepad++) to a project and the IDE sees them fine, but the source browser doesn't want to emit any function names.  If I save them as UTF-16 LE, all is good. I attached the files to this post. Regards!


Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 1893
Re: Version 10.00 is now released
« Reply #16 on: July 30, 2020, 11:10:45 am »
a test project for it
May the source be with you

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2064
    • http://www.smorgasbordet.com
Re: Version 10.00 is now released
« Reply #17 on: July 30, 2020, 01:28:30 pm »
strdup() is part of the Posix (unix) standard and many implementations, but not (yet) the C standard. A bit surprising...

For Pelles C you have _strdup() by default, and by using the /Go compiler option you also get the alias strdup().

(strdup() is also in TR24731-2, but we forget that for now...)
/Pelle

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2064
    • http://www.smorgasbordet.com
Re: Version 10.00 is now released
« Reply #18 on: July 30, 2020, 01:35:55 pm »
Today I added a couple of UTF-8 BOM files (saved with Notepad++) to a project and the IDE sees them fine, but the source browser doesn't want to emit any function names.  If I save them as UTF-16 LE, all is good. I attached the files to this post. Regards!
I will look at it, but with version 10 already released I can't promise a quick fix...
/Pelle