Is there any way to fix this that doesn't involve me prefixing every one of the bazillion strings/vectors/maps/sets and god knows what else in my project with "std::"?

Code: Select all
namespace Buzz
{
#include "MachineInteface.h"
}
Thanks Oskari. One question though, std::byte is an enum class (which is still a new thing for meoskari wrote: ↑Mon Nov 09, 2020 7:39 am You can comment out 'typedef unsigned char byte' in MachineInterface.h, #include <cstddef> and change references to byte to std::byte in the file.
Or if you don't want to modify the file you can do
and use Buzz::CMachineInterface etc.Code: Select all
namespace Buzz { #include "MachineInteface.h" }