|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] gccism's are ok? |
Date: | Mon, 11 Aug 2008 08:53:37 -0500 |
User-agent: | Thunderbird 2.0.0.14 (X11/20080501) |
Gerd Hoffmann wrote:
Hi, Quick question: Is it ok to use gcc-specific features in qemu? Or will that break builds on some platform? Linux obviously is gcc, MacOS X too as far I know. MinGW on Windows is gcc too. Anything else we care about? I'm thinking especially about the constructor attribute. That would allow to make drivers self-contained, by having a register() call in a small constructor function ...
You'll have to post a patch. I had discussed using GCC-isms to do the same thing with Paul Brook and at the time, he was not a big fan of it IIRC.
Regards, Anthony Liguori
cheers, Gerd
[Prev in Thread] | Current Thread | [Next in Thread] |