42School / norminette

Official 42 norminette
MIT License
956 stars 140 forks source link

`unsigned var;` give an undefined behaviour #508

Open rghouzra opened 2 months ago

rghouzra commented 2 months ago

`int main() { unsigned var;

return (var); }` int this example norminette will consider var as a type it will keep looking for next token and give some false errors in most modern os unsigned will be interpreted to unsigned int