Skip to content

Deprecation warning when building libsyclinterface on Windows #1246

Closed
@diptorupd

Description

@diptorupd
dpctl\libsyclinterface\helper\source\dpctl_error_handlers.cpp(53,32): warning: 'getenv' is deprecated: This function or variable may be unsafe. Consider using _dupenv_s 
instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [-Wdeprecated-declarations]
    const char *verbose = std::getenv("DPCTL_VERBOSITY");

Metadata

Metadata

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