Author Topic: I found a strange "bug" about makefile.  (Read 5231 times)

Offline norsd

  • Multiple posting newcomer
  • *
  • Posts: 11
I found a strange "bug" about makefile.
« 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?

Offline eranif

  • Regular
  • ***
  • Posts: 256
Re: I found a strange "bug" about makefile.
« Reply #1 on: November 02, 2008, 10:28:09 pm »
My guess:
Don't use space for indentation but rather use tabs
Eran

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: I found a strange "bug" about makefile.
« Reply #2 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.

Offline norsd

  • Multiple posting newcomer
  • *
  • Posts: 11
Re: I found a strange "bug" about makefile.
« Reply #3 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. :)

Offline norsd

  • Multiple posting newcomer
  • *
  • Posts: 11
Re: I found a strange "bug" about makefile.
« Reply #4 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