robbie.doggie@xxxxxxx writes: > > | Is it possible to turn off this warning for these files? > > > > Append -Wno-virtual-dtor. > > Ok, but actually I'd like to keep it turned on for other files. In other compilers there's a possibility with #pragma. But I haven't found out whether that's possible with gcc, too. gcc does not support any sort of #pragma or _Pragma or attribute to disable specific warnings. However, there is some ongoing work to implement this in a future (post 4.2) release. Ian