qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] header include order causes build failure
@ 2011-05-26  8:07 Christoph Egger
  0 siblings, 0 replies; only message in thread
From: Christoph Egger @ 2011-05-26  8:07 UTC (permalink / raw)
  To: qemu-devel@nongnu.org


Hi,

qemu build system includes third party headers before
qemu headers which is wrong. It should be the other
way around.

When 'nas' (Network Audio System, 
http://www.pdl.cmu.edu/NASD/Downloads/NASDcode.html)
is installed then there is an external "audio/audio.h".

Due to the wrong header include order this one is used instead of
qemu's one and causes a build error saying that
QEMUSoundCard is not defined.

gcc error message:
hw/wm8750.c:30:error: expected specifier-qualifier-list before 
'QEMUSoundCard'

Christoph

-- 
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85689 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-05-26  8:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-26  8:07 [Qemu-devel] header include order causes build failure Christoph Egger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).