g++ -I/usr/include/directfb-internal/core/ message
box.cpp
In
file included from
/usr
/include/c
++/4
.0
.2
/backward
/iostream
.h
:31,from messagebox.cpp:1:
/usr/include/c++/4.0.2/backward/backward_warning.h:32:2: warning: #warning This
file includes at least one deprecated or antiquated
header. Please consider usin
g one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples
include substituting the
<X
> header for the
<X
.h
> header for C
++ includes
, or
<i
ostream
> instead of the deprecated
header <iostream
.h
>. To disable this warning
use -Wno-deprecated.
In
file included from messagebox
.cpp
:2:/usr/include/directfb-internal/core/windows.h:31:22: error: directfb.h: Onbekend
bestand of map
/usr/include/directfb-internal/core/windows.h:33:27: error: core/coredefs.h: Onb
ekend bestand of map
/usr/include/directfb-internal/core/windows.h:34:28: error: core/coretypes.h: On
bekend bestand of map
/usr/include/directfb-internal/core/windows.h:36:27: error: fusion/object.h: Onb
ekend bestand of map
/usr/include/directfb-internal/core/windows.h:76: error: ‘DFBRectangle’ does not
name a type
/usr/include/directfb-internal/core/windows.h:78: error: ‘DFBWindowStackingClass
’ does not name a type
/usr/include/directfb-internal/core/windows.h:79: error: ‘DFBWindowOptions’ does
not name a type
/usr/include/directfb-internal/core/windows.h:80: error: ‘DFBWindowEventType’ do
es not name a type
/usr/include/directfb-internal/core/windows.h:81: error: ‘__u32’ does not name a
type
/usr/include/directfb-internal/core/windows.h:82: error: ‘DFBRegion’ does not na
me a type
/usr/include/directfb-internal/core/windows.h:96: error: expected constructor, d
estructor, or type conversion before ‘*’ token
/usr/include/directfb-internal/core/windows.h:101: error: expected constructor,
destructor, or type conversion before ‘(’ token
/usr/include/directfb-internal/core/windows.h:121: error: variable or field ‘dfb
_window_destroy’ declared void
/usr/include/directfb-internal/core/windows.h:121: error: ‘CoreWindow’ was not d
eclared in this scope
/usr/include/directfb-internal/core/windows.h:121: error: ‘window’ was not decla
red in this scope
/usr/include/directfb-internal/core/windows.h:126: error: ‘DFBResult’ does not n
ame a type
/usr/include/directfb-internal/core/windows.h:135: error: ‘DFBResult’ does not n
ame a type
/usr/include/directfb-internal/core/windows.h:143: error: ‘DFBResult’ does not n
ame a type
/usr/include/directfb-internal/core/windows.h:150: error: ‘DFBResult’ does not n
ame a type
/usr/include/directfb-internal/core/windows.h:156: error: ‘DFBResult’ does not n
ame a type
/usr/include/directfb-internal/core/windows.h:162: error: ‘DFBResult’ does not n
ame a type
/usr/include/directfb-internal/core/windows.h:168: error: ‘DFBResult’ does not n
ame a type
/usr/include/directfb-internal/core/windows.h:174: error: ‘DFBResult’ does not n
ame a type
/usr/include/directfb-internal/core/windows.h:181: error: ‘DFBResult’ does not n
ame a type
/usr/include/directfb-internal/core/windows.h:188: error: ‘DFBResult’ does not n
ame a type
/usr/include/directfb-internal/core/windows.h:195: error: ‘DFBResult’ does not n
ame a type
/usr/include/directfb-internal/core/windows.h:202: error: ‘DFBResult’ does not n
ame a type
/usr/include/directfb-internal/core/windows.h:210: error: ‘DFBResult’ does not n
ame a type
/usr/include/directfb-internal/core/windows.h:217: error: ‘DFBResult’ does not n
ame a type
/usr/include/directfb-internal/core/windows.h:225: error: ‘DFBResult’ does not n
ame a type
/usr/include/directfb-internal/core/windows.h:233: error: ‘DFBResult’ does not n
ame a type
/usr/include/directfb-internal/core/windows.h:236: error: ‘DFBResult’ does not n
ame a type
/usr/include/directfb-internal/core/windows.h:237: error: ‘DFBResult’ does not n
ame a type
/usr/include/directfb-internal/core/windows.h:238: error: ‘DFBResult’ does not n
ame a type
/usr/include/directfb-internal/core/windows.h:239: error: ‘DFBResult’ does not n
ame a type
/usr/include/directfb-internal/core/windows.h:240: error: ‘DFBResult’ does not n
ame a type
/usr/include/directfb-internal/core/windows.h:243: error: ‘DFBResult’ does not n
ame a type
/usr/include/directfb-internal/core/windows.h:247: error: variable or field ‘dfb _window_post_event’ declared void
/usr/include/directfb-internal/core/windows.h:247: error: ‘CoreWindow’ was not d eclared in this scope
/usr/include/directfb-internal/core/windows.h:247: error: ‘window’ was not decla red in this scope
/usr/include/directfb-internal/core/windows.h:247: error: ‘DFBWindowEvent’ was n ot declared in this scope
/usr/include/directfb-internal/core/windows.h:247: error: ‘event’ was not declar ed in this scope
/usr
/include/directfb
-internal
/core
/windows
.h
:247: error
: initializer expression
list treated
as compound expression
/usr/include/directfb-internal/core/windows.h:249: error: ‘DFBResult’ does not n ame a type
/usr/include/directfb-internal/core/windows.h:251: error: ‘DFBWindowID’ does not name a type
/usr/include/directfb-internal/core/windows.h:253: error: expected constructor, destructor, or type conversion before ‘*’ token
messagebox.cpp: In function ‘int main()’:
messagebox.cpp:9: error: ‘MB_YESNO’ was not declared in this scope
messagebox.cpp:9: error: ‘MessageBox’ was not declared in this scope
messagebox.cpp:11: error: ‘IDYES’ was not declared in this scope