Skip to content

Non portable 'warning' preprocessor command #352

@tetsuhaut

Description

@tetsuhaut

In the file include/stlab/concurrency/config.hpp we find some #warning preprocessor commands, which are unknown in MS visual studio and trigger a compilation error.
You may want to use something like

#ifdef _MSC_VER
#  pragma NOTE(my warning here)
#else
#  warning(my warning here)
#endif

instead.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions