Maybe the IDE should duplicate any warnings, but only from .ino and .pde files, at the end right before it prints the memory usage?