warning 217: loose indentation
#1

My problem solved
Reply
#2

It actually compiles fine without a fault with the code you've provided.
Reply
#3

Added:
PHP код:
#pragma tabsize 0 
Reply
#4

Quote:
Originally Posted by GuyYahood1
Посмотреть сообщение
Added:
PHP код:
#pragma tabsize 0 
That doesn't fix it, nor is it recommended.
Reply
#5

Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
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.
Reply
#6

Quote:
Originally Posted by MBilal
Посмотреть сообщение
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.
Reply
#7

Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
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?
Reply
#8

None, because when I put the code in a clean gamemode it compiled without warning. That was with

PHP код:
#pragma tabsize 4 
By the "fix" that he's applied, he's simply avoiding the issue.
Reply
#9

Quote:
Originally Posted by MattafixTM
Посмотреть сообщение
My problem solved
Alright, he dosn't need help anymore.
Reply
#10

Hmm...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)