[Issue 24418] ImportC: can't import C file with fully qualified name if C file on the command line
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Wed Feb 28 21:27:37 UTC 2024
    
    
  
https://issues.dlang.org/show_bug.cgi?id=24418
Walter Bright <bugzilla at digitalmars.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com
--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> ---
The following command will work:
    dmd -c -Isource source/mod.d -mv=foo.bar.quux=source/foo/bar/quux.c
and will compile source/mod.d
However, you'll still need to compile quux.c separately with:
    dmd -c source/foo/bar/quux.c
--
    
    
More information about the Digitalmars-d-bugs
mailing list