[Issue 22500] ImportC: Lots of errors when compiling tomlc99

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 22 08:16:04 UTC 2021


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

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ImportC
                 CC|                            |bugzilla at digitalmars.com

--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> ---
>From reading the thread, it appears that:

   int foo(int);
   int (*fp)(int) = foo;

fails to compile. In my tests, it compiles successfully with both gcc and
importc.

If you have a test case that does fail, please reopen this with the test case.

--


More information about the Digitalmars-d-bugs mailing list