Date: Sun, 20 Oct 2024 05:06:45 +0000
On 20 October 2024 04:34:14 UTC, Thiago Macieira via Std-Discussion <std-discussion_at_[hidden]> wrote:
>On Saturday 19 October 2024 10:25:03 GMT-7 Federico Kircheis via Std-
>Discussion wrote:
>> Or dlopen, loadlibrary,... Which are just functions; outside of the
>> standard, like the rest of dynamic linking
>>
>> No need for attributes, assembly, or other compiler extensions, or strange
>> constructs. Global variables are problematic in shared libraries, that's
>> it.
>
>dlopen with the default options does not affect this. Global variables are
>still global and unique.
>
No, they are not necessarily unique, or well defined; look at the examples I provided
>On Saturday 19 October 2024 10:25:03 GMT-7 Federico Kircheis via Std-
>Discussion wrote:
>> Or dlopen, loadlibrary,... Which are just functions; outside of the
>> standard, like the rest of dynamic linking
>>
>> No need for attributes, assembly, or other compiler extensions, or strange
>> constructs. Global variables are problematic in shared libraries, that's
>> it.
>
>dlopen with the default options does not affect this. Global variables are
>still global and unique.
>
No, they are not necessarily unique, or well defined; look at the examples I provided
Received on 2024-10-20 05:06:51