Re: constructor vs. __constructor__

2023-08-24 Thread Liu Jaloo
Thanks for your reply. On Thu, Aug 24, 2023 at 5:33 PM Peter Maydell wrote: > On Thu, 24 Aug 2023 at 06:55, Markus Armbruster wrote: > > > > Liu Jaloo writes: > > > > > What's the difference between "__attribute__((constructor))" and > > > "__attribute__((__constructor__))" in qemu source? >

Re: constructor vs. __constructor__

2023-08-24 Thread Peter Maydell
On Thu, 24 Aug 2023 at 06:55, Markus Armbruster wrote: > > Liu Jaloo writes: > > > What's the difference between "__attribute__((constructor))" and > > "__attribute__((__constructor__))" in qemu source? > > Reading the fine manual helps: > > You may optionally specify attribute names with ‘_

Re: constructor vs. __constructor__

2023-08-23 Thread Markus Armbruster
Liu Jaloo writes: > What's the difference between "__attribute__((constructor))" and > "__attribute__((__constructor__))" in qemu source? Reading the fine manual helps: You may optionally specify attribute names with ‘__’ preceding and following the name. This allows you to use them i

constructor vs. __constructor__

2023-08-23 Thread Liu Jaloo
What's the difference between "__attribute__((constructor))" and "__attribute__((__constructor__))" in qemu source?