09-05-2018, 07:36 AM
My doubt about this rule is if they violate rules in different files, as follows.If they violate the rules in the same project.
a.c
b.c
Similarly, there are rules 5.3 : An identifi er declared in an inner scope shall not hide an identifier declared in an outer scope
c.c
d.c
In other words, whether cross-document considerations are considered。
Looking forward to your reply。
a.c
Code:
void func ( void )
{
{
typedef unsigned char u8_t;
}
}
Code:
void func ( void )
{
typedef unsigned char u8_t;
……
}
c.c
Code:
int a =8;
Code:
void main(){
int a = 9;
}
Looking forward to your reply。
<t></t>