Hi,
I have a bunch of code that is not mine so I can't really change it but I have been given the task of writing the makefiles to compile and link this code.
The problem I have is that parts of it are spewing out the same warning message lots of times and I'd like to hide that warning but still be able to see others.
I am trying to use both the icc and gcc compilers.
So my question is do these compilers have a method of suppressing certain warning numbers? Can this be done with a command line flag or some sort of pragma line?
Thanks for any help
M
Trainee Chocolate Management Executive.
I have a bunch of code that is not mine so I can't really change it but I have been given the task of writing the makefiles to compile and link this code.
The problem I have is that parts of it are spewing out the same warning message lots of times and I'd like to hide that warning but still be able to see others.
I am trying to use both the icc and gcc compilers.
So my question is do these compilers have a method of suppressing certain warning numbers? Can this be done with a command line flag or some sort of pragma line?
Thanks for any help
M
Trainee Chocolate Management Executive.