gcc-4.6.0 libstdc++ headers no more includes stddef.h.
As the result there are error messages due to undefined offsetof().
Attached patch (against development version) fixes that.

Of course one may want to include cstddef from some header
file instead.

Andris


--- libsynthesis_3.4.0.24/src/sysync/binfileimplds.cpp.gcc46	2011-05-13 04:54:10.000000000 -0400
+++ libsynthesis_3.4.0.24/src/sysync/binfileimplds.cpp	2011-05-13 04:54:23.000000000 -0400
@@ -15,6 +15,7 @@
  */
 
 // includes
+#include <cstddef>
 #include "prefix_file.h"
 #include "sysync.h"
 #include "binfileimplclient.h"
--- libsynthesis_3.4.0.24/src/sysync/binfileimplclient.cpp.gcc46	2011-05-13 04:53:24.000000000 -0400
+++ libsynthesis_3.4.0.24/src/sysync/binfileimplclient.cpp	2011-05-13 04:53:39.000000000 -0400
@@ -15,6 +15,7 @@
  */
 
 // includes
+#include <cstddef>
 #include "prefix_file.h"
 #include "binfileimplclient.h"
 #include "binfileimplds.h"
_______________________________________________
os-libsynthesis mailing list
[email protected]
http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis

Reply via email to