[Issue 23485] New: ImportC: two tests with gtk

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 14 16:29:01 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=23485

          Issue ID: 23485
           Summary: ImportC: two tests with gtk
           Product: D
           Version: D2
          Hardware: x86_64
                OS: FreeBSD
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dlang.org
          Assignee: nobody at puremagic.com
          Reporter: donaldcallen1942 at icloud.com

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.

--


More information about the Digitalmars-d-bugs mailing list