Statistics
| Branch: | Revision:

root / error.h @ c09015dd

History | View | Annotate | Download (1.7 kB)

# Date Author Comment
d3608b7c 07/21/2011 10:48 pm Luiz Capitulino

Error: Fix build when qemu-common.h is not included

Commit e4ea5e2d0e0e4c5188ab45b66f3195062ae059dc added the use of
the macro GCC_FMT_ATTR to error.h, however compiler.h is not
included by error.h

This will cause a build error when files including error.h...

e4ea5e2d 06/16/2011 05:42 pm Stefan Weil

error framework: Fix compilation for w32/w64

The declaration of function error_set() should use macro GCC_FMT_ATTR
instead of gcc's format printf attribute.

For w32/w64, both declarations are different and GCC_FMT_ATTR is needed.
Compilation for w64 even failed with the original code because mingw64...

d5ec4f27 06/07/2011 09:52 pm Luiz Capitulino

Introduce the new error framework

New error-handling framework that allows for exception-like error
propagation.

Signed-off-by: Luiz Capitulino <>
Signed-off-by: Michael Roth <>
Signed-off-by: Anthony Liguori <>