Skip to content

Commit

Permalink
chore: 修改编译器错误信息
Browse files Browse the repository at this point in the history
  • Loading branch information
yixy-only committed Apr 27, 2024
1 parent 19388e1 commit 068b9b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/ege.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#define EGE_VERSION_NUMBER EGE_MAKE_VERSION_NUMBER(EGE_VERSION_MAJOR, EGE_VERSION_MINOR, EGE_VERSION_PATCH)

#ifndef __cplusplus
#error You must use C++ compiler, or you need filename with '.cpp' suffix
#error You must use a C++ compiler and ensure that your source files is named with the '.cpp' suffix.
#endif

#if defined(_INC_CONIO) || defined(_CONIO_H_)
Expand Down
2 changes: 1 addition & 1 deletion include/graphics.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#define EGE_GRAPHICS_H

#ifndef __cplusplus
#error You must use C++ compiler, or you need filename with '.cpp' suffix
#error You must use a C++ compiler and ensure that your source files is named with the '.cpp' suffix.
#endif

#include "ege.h"
Expand Down

0 comments on commit 068b9b0

Please sign in to comment.