Second test: include of gtk.h with attempts to work around problems encountered in first test
application/x-xz
246148
Comments
Comment #0 by donaldcallen1942 — 2022-11-14T16:29:01Z
As requested by Walter, here are tar files of two tests of attempts to import a pre-processed C file that includes gtk.h. The first simply includes the header file. The second adds some #defines to try to work around the problems. This was as far as I got in my own attempt to use ImportC for my own application.
These tests were done on a FreeBSD 13.1 system. I've seen similar results on Linux.
For your convenience, the 'errors' file is the output of 'make' in each case. The header_files directory contains a copy of the header files that appear in 'errors'. It's worth noting that in the first test, the problems were in signal.h and types.h, not in any of the gtk header files.
Comment #1 by donaldcallen1942 — 2022-11-14T16:33:23Z
Created attachment 1860
First test: vanilla include (see gtk.c)
Comment #2 by donaldcallen1942 — 2022-11-14T16:33:50Z
Created attachment 1861
Second test: include of gtk.h with attempts to work around problems encountered in first test
Comment #3 by robert.schadek — 2024-12-15T15:27:40Z