While using gcc
, the code:
register a = 3;
static b = 3;
it is allowed while using the -std=c89 -pedantic-errors
flags, although there is a warning.
However it receive an error with the -std=c99 -pedantic-errors
flags.
I wonder which section of the C89 standards allows the "implicit int" rule?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…