------- Comment #2 from rguenth at gcc dot gnu dot org 2009-04-22 19:36 ------- This is likely because a PCH is used and is not included from the main .cpp file (but Melody.h). Try using -include note.h on the commandline to use PCHs. Including a PCH from not the toplevel source is not supported.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39854