Menu

#8 local variables with register storage class fail to parse

open
nobody
None
5
2006-01-11
2006-01-11
No

This fails to parse:

int main()
{
register char *p;
register char **mvp;
char **pvp;
}

Error:

Invalid use of local storage type:
register char *p;
^

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.