Skip to content

Commit

Permalink
Change an error message in <__msvc_cxx_stdatomic.hpp> (#3192)
Browse files Browse the repository at this point in the history
Co-authored-by: A. Jiang <[email protected]>
  • Loading branch information
fsb4000 and frederick-vs-ja authored Nov 11, 2022
1 parent 53cdc19 commit 29ac086
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stl/inc/__msvc_cxx_stdatomic.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

// provide a specific error message for C compilers, before the general error message in yvals_core.h
#ifndef __cplusplus
#error <stdatomic.h> is not yet supported when compiling as C, but this is planned for a future release.
#error <__msvc_cxx_stdatomic.hpp> is an internal header. It is incompatible with C and should not be directly included.
#endif // __cplusplus

#include <yvals.h>
Expand Down

0 comments on commit 29ac086

Please sign in to comment.