Now as I understand it, #pragma once is deprecated in MinGW 3.1 and the problems relating to it were not fixed until 3.4 or something. It's also my understanding that we can't go beyond 3.1 when using BMax with MinGW.
So when I'm trying to interface with a bunch of headers which use #pragma once and it's obviously causing problems. The warnings are fine, but things are being defined multiple times, presumably because they're being imported multiple times.
What is the best way to resolve this? #include instead of #pragma once? Ignore warnings about the GCC 3.4? Something else?
So when I'm trying to interface with a bunch of headers which use #pragma once and it's obviously causing problems. The warnings are fine, but things are being defined multiple times, presumably because they're being imported multiple times.
What is the best way to resolve this? #include instead of #pragma once? Ignore warnings about the GCC 3.4? Something else?