Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: norsd on November 02, 2008, 09:13:51 pm

Title: I found a strange "bug" about makefile.
Post by: norsd on November 02, 2008, 09:13:51 pm
C::B Ver,8.02
WinXP SP2

When I edited the makefile in C::B, I found if I enter a TAB for the beginning of a command of a makefile item, then , C::B would tell me " missing separator ".
That was a big trouble for me , what was wrong with me?
Finally, I found there was all right with me . It's just the C::B!
Once I enter a TAB in NodePad or something like that, there would be all right!

How ridiculous it is!
As an IDE , it is hard to edit the makefile :><~
Or the "bug"  occurs only in my computer?
Title: Re: I found a strange "bug" about makefile.
Post by: eranif on November 02, 2008, 10:28:09 pm
My guess:
Don't use space for indentation but rather use tabs
Eran
Title: Re: I found a strange "bug" about makefile.
Post by: Jenna on November 02, 2008, 10:29:25 pm
I guess you don't have "Settings -> Editor... -> General Settings -> TAB options -> Use TAB character" checked.
In this case you have spaces instead of a TAB character.

EDIT:

Eran was a minute faster.
Title: Re: I found a strange "bug" about makefile.
Post by: norsd on November 03, 2008, 03:36:26 am
My guess:
Don't use space for indentation but rather use tabs
Eran

But I'm always using tabs. :)
Title: Re: I found a strange "bug" about makefile.
Post by: norsd on November 03, 2008, 03:38:39 am
I guess you don't have "Settings -> Editor... -> General Settings -> TAB options -> Use TAB character" checked.
In this case you have spaces instead of a TAB character.

EDIT:

Eran was a minute faster.

Thanks, It's done  :D
And I'm right , that's only a strange "bug" for me , haaa TvT