Skip to content
Discussion options

You must be logged in to vote

文件编码是不是utf8-bom?
gcc对这种编码的#pragma once支持有问题(clang似乎也不行)
加上头文件保护宏就行
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56549

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Elite-stay
Comment options

@Elite-stay
Comment options

Answer selected by Elite-stay
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants