aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/LexGen.py
diff options
context:
space:
mode:
authorColomban Wendling <ban@herbesfolles.org>2015-05-22 14:26:15 +0200
committerColomban Wendling <ban@herbesfolles.org>2015-05-22 14:26:15 +0200
commit06d04fb37a82847f1270bd93d0148acd4e41777d (patch)
tree1037955074cb196c1945e20d65cbdcda7e52b89b /scripts/LexGen.py
parent9c43289e4c9004ba5c9c5f61d9fec72bfdf08a5e (diff)
downloadscintilla-mirror-06d04fb37a82847f1270bd93d0148acd4e41777d.tar.gz
GTK: Workaround ABI issue with Windows GTK2 bundle and GCC > 3
GtkScrolledWindow contains a bitfield, and GCC 3.4 and 4.8 don't agree on the size of the structure (regardless of -mms-bitfields): - GCC 3.4 has sizeof(GtkScrolledWindow)=88 - GCC 4.8 has sizeof(GtkScrolledWindow)=84 As Windows GTK2 bundle is built with GCC 3, it requires types derived from GtkScrolledWindow to be at least 88 bytes, which means we need to add some fake padding to fill in the extra 4 bytes. There is however no other issue with the layout difference as we never access any GtkScrolledWindow fields ourselves. See http://lists.geany.org/pipermail/devel/2015-April/thread.html#9379
Diffstat (limited to 'scripts/LexGen.py')
0 files changed, 0 insertions, 0 deletions