[git commit master 1/1] add UCLIBC_STRICT_HEADERS config option

Peter S. Mazinger ps.m at gmx.net
Thu Mar 3 17:22:53 UTC 2011

commit: http://git.uclibc.org/uClibc/commit/?id=a82ba03b6ff449bdfdae4ad360c2ab59bda09ef4
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

Add config option to disable the visibility of structures/constants
that should not be visible unless a feature is enabled.

Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
 extra/Configs/Config.in |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index f152a96..15da168 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -657,6 +657,17 @@ config UCLIBC_SUSV4_LEGACY
 	  WARNING! ABI incompatibility.
+	bool "Enable structures and constants for unsupported features"
+	default n
+	help
+	  Enable structures and constants in headers that should not be used,
+	  because the respective feature is disabled.
+	  WARNING! enabling this option requires to patch many faulty apps,
+	  since they make (wrongly) use of these structures/constants,
+	  although the feature was disabled.
 	bool "Provide stubs for unavailable functionality"
 	default n

More information about the uClibc-cvs mailing list