NO

Author Topic: In the Land of DingBats and Emoticons  (Read 4704 times)

Offline Robert

  • Member
  • *
  • Posts: 247
In the Land of DingBats and Emoticons
« on: December 27, 2022, 09:45:11 AM »
When compiling an app for UPPERcasing a UTF-8 string, using a library 64 bit polibbed from the Microsoft icu.dll, these warnings were generated.

Code: [Select]
POLINK: warning: Realigned section '.idata$5' in object 'icu.lib(icu.dll)' (from 4 to 8 byte(s)).
POLINK: warning: Realigned section '.idata$4' in object 'icu.lib(icu.dll)' (from 4 to 8 byte(s))

Am I really in trouble ? Should I be scared ?

The app ran as expected and properly converted a string of Native American Osage language lower case letters
to the proper upper case equivalents. I was impressed because the Unicodes for the Osage script are out of the
B.M.P. and in the Land of DingBats and Emoticons.

The Microsoft ICU library was first added to the Windows 10 OS in Version 1703 (Creators Update) and has since been
further consolidated from the multi-file ICU4C to two files, icu.lib and icu.h.

An interesting comment

Quote
The version of ICU in Windows only exposes the C APIs. It does not expose any of the C++ APIs. Unfortunately, it is impossible to ever expose the C++ APIs due to the lack of a stable ABI in C++.

made here

https://learn.microsoft.com/en-us/windows/win32/intl/international-components-for-unicode--icu-

Maybe something for addition to Pelles C 12 ?
« Last Edit: December 27, 2022, 09:49:01 AM by Robert »

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 2113
Re: In the Land of DingBats and Emoticons
« Reply #1 on: December 27, 2022, 10:34:21 AM »
See https://forum.pellesc.de/index.php?topic=10471.msg36267#msg36267
MS .idata sections are aligned on 4 bytes boundary, while PellesC use 8 bytes alignement for 64Bits code.
Don't care about it. It's OK.
"It is better to be hated for what you are than to be loved for what you are not." - Andre Gide