Does betterC work different on windows and linux?
    kinke 
    noone at nowhere.com
       
    Thu Nov 14 16:47:59 UTC 2019
    
    
  
On Thursday, 14 November 2019 at 16:34:07 UTC, Ferhat Kurtulmuş 
wrote:
> I could also run the code in that way. Probably I have some 
> problems with dub configurations. I get linking errors when I 
> try to import the library in a newly created dub project, 
> although there is "dflags": ["-betterC"] in the dub.json of 
> client app. Then we can be sure that it supports betterC.
The -betterC for that app doesn't imply that its dependencies are 
compiled with -betterC too. So either also specify that flag in 
your library's dub config, or build the app with `DFLAGS=-betterC 
dub ...`.
    
    
More information about the Digitalmars-d-learn
mailing list