Does compiler have memory?

Discussion in 'Mac Programming' started by ellie:), Jan 13, 2010.

  1. ellie:) macrumors newbie

    Joined:
    Jan 7, 2010
    #1
    It returns me the same error even though I have changed the code.

    Eg: 'struct Keypoint' has no member named 'printkeypoint'

    but I had changed the 'struct' to 'class', still it insists there is 'struct Keypoint' with no member named 'printkeypoint' (and I am pretty sure there is such member in the class).

    I tried to open a new header file, copy and paste the code from the old one, and delete the old one, empty the recycle bin. Still, it insists there is a 'struct'.:mad:

    Can someone help me?
     
  2. lee1210 macrumors 68040

    lee1210

    Joined:
    Jan 10, 2005
    Location:
    Dallas, TX
    #2
    Post the code.

    There are times when a setup like make won't know a header changed because its dependency is a .c file, etc. but that may not be the case here.

    -Lee
     
  3. ellie:) thread starter macrumors newbie

    Joined:
    Jan 7, 2010
    #3
    Did you mean that I should change my makefile ? What should I do to my makefile? :confused:
     
  4. ellie:) thread starter macrumors newbie

    Joined:
    Jan 7, 2010
    #4
    hi, I have solved the problem. It seems that the compiler had tried to look into my gch file.. Many thanks :):eek:
     

Share This Page