From 88472706e6daafbea01f67d95b9aece847894e77 Mon Sep 17 00:00:00 2001 From: oldmud0 Date: Sat, 3 Jun 2017 16:02:04 -0500 Subject: [PATCH] Change professional compiler erroring to #error So professional. `#error` is the correct directive here and is supported by the major compilers. --- hardware_functions.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hardware_functions.cpp b/hardware_functions.cpp index 48bd214..29823cd 100644 --- a/hardware_functions.cpp +++ b/hardware_functions.cpp @@ -52,7 +52,6 @@ QString get_hdid() #else -//throwing compile-time errors professionally -fhasdfuifhidfhasjkfasdkfahsdj +#error This operating system is unsupported for hardware functions. #endif