Skip to content

Instantly share code, notes, and snippets.

Created Jul 28, 2020
What would you like to do?
Redefined macro
#include <cstdio>
#define A 1
#define B 1
#define A B // test.cpp:5:0: warning: "A" redefined
int main() {
printf("%d\n", A);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment