C言語のプリプロセッサの#の引用ができない
code:main.c
int main(void) {
puts(content);
// puts("Hello"); に置き換わることを期待した
}
code:error.txt
main.c: In function ‘main’:
main.c:1:17: error: ‘Hello’ undeclared (first use in this function)
| ^~~~~
main.c:7:8: note: in expansion of macro ‘content’
7 | puts(content);
| ^~~~~~~
main.c:1:17: note: each undeclared identifier is reported only once for each function it appears in
| ^~~~~
main.c:7:8: note: in expansion of macro ‘content’
7 | puts(content);
| ^~~~~~~