Hi,
I've noticed that commit 7e032d95f71442b42c821e874a26099112f4917b (from
26 jan. 2008 !) introduces a change to the way struct members are
initialized. The comment was:
MODULES: Use standard syntax for initialization of struct members in
headers.
The change is from:
struct some_struct {
member : value
}
to
struct some_struct {
.member=value
}
This (although correct) has the unfortunate effect of breaking C++
module builds (of which I have a few) because g++ DOESN'T accept this
[C99 standard] type of initialization in
<direct/interface_implementation.h> even if surrounded with extern "C".
Is there a workaround? Do you plan to leave it as it is?
For now I've changed the affected header (specified above) to use
member:value.
Regards,
Sorin
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev