Cannot call @system funciton (stdout)

Joel joelcnz at gmail.com
Sat Aug 15 23:59:36 UTC 2020


../../JMiscLib/source/jmisc/base.d(176,2): Error: @safe function 
jmisc.base.upDateStatus!string.upDateStatus cannot call @system 
function std.stdio.makeGlobal!"core.stdc.stdio.stdout".makeGlobal
/Library/D/dmd/src/phobos/std/stdio.d(4837,20):        
std.stdio.makeGlobal!"core.stdc.stdio.stdout".makeGlobal is 
declared here

I got around it by avoiding 'stdout'.


More information about the Digitalmars-d-learn mailing list