Arduino 1.0 IDE Compatibility with previous versions

Razorblade,
I'm not seeing how kaor is wrong.
All he stated was:

  • WProgram.h is missing (renamed to Arduino.h)
  • Many projects/libraries will no longer compile because of this.

Both of these assertions are correct.

While the official solution is to correct each library code module with a conditional,
an interim "quick fix" that is much easier that fixes many library modules all at once is
to simply create a WProgram.h as kaor has stated.

The bottom line is to get things back to working again.
Creating a WProgram.h file one time is a much simpler and easier solution for less technical users
than having them wade through compiler error messages and then locate each source file that needs
correcting and then edit each file to correct the includes.

The needed backward compatibility isn't for the library writers, it is for the less technical users of the library
that are stuck in the middle.

I'm with Paul, I simply don't understand the decision not to include a little bit of additional backward compatibility,
particularly given the 1.0 IDE has added additional code to deal with supporting both the .pde vs .ino extensions.
A novice user can easily handle renaming his sketch to get going again. But even the simple changes to correct
the header filenames in the library code can be beyond many less technical users.

--- bill