id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	os	architecture	failure	difficulty	testcase	blockedby	blocking	related
3844	Undeprecate #include (in at least some circumstances)	cjs		"The attached program generates a warning: ""Warning: -#include is deprecated: No longer has any effect"". However, if I remove the #include, it fails to compile with:


{{{
Fixes.hsc: In function ‘main’:
Fixes.hsc:29: error: ‘SOL_SOCKET’ undeclared (first use in this function)
Fixes.hsc:29: error: (Each undeclared identifier is reported only once
Fixes.hsc:29: error: for each function it appears in.)
Fixes.hsc:29: error: ‘SO_LINGER’ undeclared (first use in this function)
Fixes.hsc:37: error: invalid application of ‘sizeof’ to incomplete type ‘struct linger’ 
Fixes.hsc:40: error: invalid use of undefined type ‘struct linger’
Fixes.hsc:41: error: invalid use of undefined type ‘struct linger’
}}}

Evidently it's not quite true that #include no longer has any effect."	bug	new	low	7.6.2	Compiler (FFI)	6.12.1		#include deprecation	mmitar@… hackage.haskell.org@… ezyang@…	Unknown/Multiple	Unknown/Multiple	Incorrect warning at compile-time					
