disable warning for pragma once

I am using pragma once in my .cpp files.

However I am always having a warning #pragma once in main file.

How to disable it? I am using GCC 5.1.0.

Source: gcc

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.