lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master a4d4c24 06/10: Treat unknown platform as an e


From: Greg Chicares
Subject: [lmi-commits] [lmi] master a4d4c24 06/10: Treat unknown platform as an error, uniformly
Date: Sat, 11 Mar 2017 17:24:21 -0500 (EST)

branch: master
commit a4d4c243410e4419c9f37f2c034eafc268d0d880
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Treat unknown platform as an error, uniformly
    
    If the platform cannot be detected, 'platform_dependent.hpp' issues an
    superficially different for now). In this case, formerly, a default
    (empty) attribute was selected, even though the aforementioned #error
    would have caused the build to fail; now, an #error is issued.
---
 so_attributes.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/so_attributes.hpp b/so_attributes.hpp
index 560113f..accb13f 100644
--- a/so_attributes.hpp
+++ b/so_attributes.hpp
@@ -92,7 +92,7 @@
 #           define LMI_SO
 #       endif // !defined LMI_BUILD_SO
 #   else  // !defined LMI_MSW && !defined __GNUC__
-#       define LMI_SO
+#       error Unknown platform. Consider contributing support.
 #   endif // !defined LMI_MSW && !defined __GNUC__
 #
 #else  // !defined LMI_USE_SO_ATTRIBUTES



reply via email to

[Prev in Thread] Current Thread [Next in Thread]