Skip to content

Build with WITH_GC_DEBUG_ENV failed on Windows #52971

Open
@inkydragon

Description

@inkydragon

When I'm trying to debug #51788.

D:/jl/julia/src/gc-debug.c:446:44: warning: implicit declaration of function 'erand48'; did you mean 'srand'? [-Wimplicit-function-declaration]
  446 | double randinterv = floor(fabs(log(erand48(num->random))) / scale) + 1; | ^
      | ^~~~~~~
      | srand

It looks like it's using a function erand48 that is not in the C standard.

double randinterv = floor(fabs(log(erand48(num->random))) / scale) + 1;

NOTE: This issue is not related to test failures in PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    GCGarbage collectorbuildingBuild system, or building Julia or its dependenciessystem:windowsAffects only Windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions