Skip to content

Instantly share code, notes, and snippets.

@Kairo-Dai
Last active September 18, 2020 11:56
Show Gist options
  • Save Kairo-Dai/30ef48231c6ed4a27eeafb52bdcaff38 to your computer and use it in GitHub Desktop.
Save Kairo-Dai/30ef48231c6ed4a27eeafb52bdcaff38 to your computer and use it in GitHub Desktop.
打印GCC的预定义宏
touch foo.h | gcc -E -dM foo.h > foo.h
touch foo.h | g++ -E -dM -std=c++14 foo.h > foo.h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment