Unless you disabled compiler warnings, you likely got one that will point out the problem in this specific instance. Going in and enabling all warnings (Settings>Compiler>Compiler flags tab>Enable all common compiler warnings) is helpful and something I always use.