PDA

View Full Version : warning 217: loose indentation


MattafixTM
05/05/2016, 05:03 AM
My problem solved

Sew_Sumi
05/05/2016, 05:30 AM
It actually compiles fine without a fault with the code you've provided.

GuyYahood1
05/05/2016, 05:51 AM
Added:
#pragma tabsize 0

Sew_Sumi
05/05/2016, 10:03 AM
Added:
#pragma tabsize 0

That doesn't fix it, nor is it recommended.

MBilal
05/05/2016, 10:18 AM
That doesn't fix it, nor is it recommended.

But wht is alternative way to fix loseindecations ?
its hard to fix that like i have code alot of in includes and most of the includes have
loseindecation.

Sew_Sumi
05/05/2016, 10:39 AM
But wht is alternative way to fix loseindecations ?
its hard to fix that like i have code alot of in includes and most of the includes have
loseindecation.

Fixing the indentations is a good way to fix them...


Considering this code, by itself, compiles without an error in a clean gamemode suggests the issue is elsewhere.

By using pragma to fix it, you're simply avoiding the issue. Using pragma to avoid the issues, is not fixing it, nor is it recommended.

Dayrion
05/05/2016, 11:09 AM
Fixing the indentations is a good way to fix them...


Considering this code, by itself, compiles without an error in a clean gamemode suggests the issue is elsewhere.

By using pragma to fix it, you're simply avoiding the issue. Using pragma to avoid the issues, is not fixing it, nor is it recommended.

+1.

Which line has a bad indentation ? Can you give us more details about the problem?

Sew_Sumi
05/05/2016, 11:32 AM
None, because when I put the code in a clean gamemode it compiled without warning. That was with

#pragma tabsize 4

By the "fix" that he's applied, he's simply avoiding the issue.

Dayrion
05/05/2016, 11:40 AM
My problem solved

Alright, he dosn't need help anymore.

LifeRah
05/05/2016, 11:41 AM
Hmm...