diff options
| author | oldmud0 <oldmud0@users.noreply.github.com> | 2017-06-03 16:02:04 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-03 16:02:04 -0500 |
| commit | 88472706e6daafbea01f67d95b9aece847894e77 (patch) | |
| tree | 4f6c709bed8edc3933d0a0a46f110528e1add06e | |
| parent | 71bac5414e4e5a7ae802e15af6407641df05ba76 (diff) | |
Change professional compiler erroring to #error
So professional. `#error` is the correct directive here and is supported by the major compilers.
| -rw-r--r-- | hardware_functions.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hardware_functions.cpp b/hardware_functions.cpp index 48bd2144..29823cdf 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 |
