Skip to content

Warnings from code generation #51

@eringh

Description

@eringh

Sometimes, like when I run tests or build the docs, I get the following warning.

WARNING: Method definition (::Type{GraphMatFun.LangC_MKL})(Any, Any) in module GraphMatFun at C:\Users\emilr\Documents\GitHub\GraphMatFun.jl\src\code_gen\gen_c_code.jl:11 overwritten at C:\Users\emilr\Documents\GitHub\GraphMatFun.jl\src\code_gen\gen_c_code.jl:33.
  ** incremental compilation may be fatally broken for this module **

WARNING: Method definition (::Type{GraphMatFun.LangC_OpenBLAS})(Any, Any) in module GraphMatFun at C:\Users\emilr\Documents\GitHub\GraphMatFun.jl\src\code_gen\gen_c_code.jl:22 overwritten at C:\Users\emilr\Documents\GitHub\GraphMatFun.jl\src\code_gen\gen_c_code.jl:33.
  ** incremental compilation may be fatally broken for this module **

WARNING: Method definition (::Type{GraphMatFun.LangJulia})(Any, Any, Any) in module GraphMatFun at C:\Users\emilr\Documents\GitHub\GraphMatFun.jl\src\code_gen\gen_julia_code.jl:5 overwritten at C:\Users\emilr\Documents\GitHub\GraphMatFun.jl\src\code_gen\gen_julia_code.jl:16.
  ** incremental compilation may be fatally broken for this module **

Ia am not sure what it is. Line 11 seems strange, but around line 33 we have

for L in [:LangC_MKL, :LangC_OpenBLAS]
eval(quote
function $L(gen_main=false,overwrite_input=true)
return $L(gen_main,overwrite_input)
end
end
)
end

Anyone have any ideas?
I have not experienced any actual problems though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions