Am I coding this right?

  • Neospector
    1st Nov 2010 Member 0 Permalink
    Nope, same problem.
  • Pilihp64
    1st Nov 2010 Developer 0 Permalink
    extra semicolon at 336 and 421, you know you should look at the line numbers in the error message.
  • Neospector
    1st Nov 2010 Member 0 Permalink
    I have, I still get the same error. On a side note I've never gotten why programs can't just say "missing ';'" or something. It's still asking for a change in the comma at 259.
  • Pilihp64
    1st Nov 2010 Developer 0 Permalink
    ah i found it,
    R_TEMP+0.f +273.15f,

    the .f is the problem, put a 0 between them

    0.0f
  • Neospector
    1st Nov 2010 Member 0 Permalink
    Again, it's still the comma. I can't believe one tiny bit of code is driving me nuts like this.
  • Pilihp64
    1st Nov 2010 Developer 0 Permalink
    hmm you added a bunch of semicolons up earlier, it might be causing it, extras at 144, 170, 184
  • Neospector
    1st Nov 2010 Member 0 Permalink
    Fixed those, I still keep getting:

    1>------ Build started: Project: Neospector, Configuration: Debug Win32 ------
    1> powder (2).c
    1>c:\users\john\downloads\powder-42.3-src\powder.h(259): error C2059: syntax error : ','
    1>c:\users\john\downloads\powder-42.3-src\powder.h(336): fatal error C1903: unable to recover from previous error(s); stopping compilation
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    I've tried putting in any number of commas on 259.
  • Vanadium
    1st Nov 2010 Member 0 Permalink
    i found it double comma at the end of line 259
  • Neospector
    1st Nov 2010 Member 0 Permalink
    Nope, same problem. Here, the new source is at here
    (btw, I should mention that I use that one-file upload site to lower the amount of stuff people download.)
  • MiXih
    1st Nov 2010 Member 0 Permalink
    you wroted CDFS against CFDS