Integrated code formatter
    forkit 
    forkit at gmail.com
       
    Tue Jan 18 04:47:58 UTC 2022
    
    
  
On Tuesday, 18 January 2022 at 04:05:05 UTC, forkit wrote:
>
> ../druntime/src/rt/profilegc.d
>
> from:
>  fprintf(fp, "bytes allocated, allocations, type, function, 
> file:line\n");
>
> to:
>  char[] WARNING = "-profile=gc is presently in a sorry state. 
> You should consider not even using it."
>  fprintf(fp, "%s\nbytes allocated, allocations, type, function, 
> file:line\n", WARNING);
oops...should be:
const char *WARNING = "-profile=gc is presently in a sorry state. 
You should consider not even using it.";
             fprintf(fp, "%s\nbytes allocated, allocations, type, 
function, file:line\n", WARNING);
    
    
More information about the Digitalmars-d
mailing list