There are a few sources files in my project that are automatically generated by a tool. Unfortunately, these sources cause GCC to issues some warnings which is quite inconvenient. Is there a way to tell GCC to ignore warnings for these source files, without modifying the sources? They shouldn't be modified because, as I've said, they are auto-generated.
The warnings are mostly about incompatible pointer types and implicit function declaration.
That is possible if you are building project through a makefile. You will just have to create different rules for those files. For example by creating another set of CFLAGS.