LLVM clang: warning: 'extern' variable has an initializer
All the messages are in the attachment. I am puzzled by 'extern' attribute in this case.
Updated by Andreas Huggel over 11 years ago
So maybe the warning is just intended to ask the developer whether he really meant what he wrote.
For the cases highlighted here, the answer is yes, these arrays specifically need to have external linkage so that they work with the pretty-print template magic (and it's nice that I can write all in one statement, without a need for a separate declaration).