id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	os	architecture	failure	difficulty	testcase	blockedby	blocking	related
944	OPTIONS_GHC in included file ignored sometimes	greenrd		"In the attached test case, the OPTIONS_GHC pragma is ignored in the included header file. However, the problem goes away if you use --make, surprisingly. Unfortunately, in my real code, the problem does not go away when I use --make.

I'd argue that this (putting OPTIONS_GHC in a #include file) should work, because

(a) It worked with ghc 6.4.2

(b) It's useful to centralise options in one place

(c) Logically, if the first line of the #included file is the OPTIONS_GHC pragma, and the #include line is on the first line of the .hs file, the OPTIONS_GHC should appear to ghc to be in the right place.

Compile this test case with: ghc -cpp test.hs"	bug	closed	normal		Compiler	6.6	wontfix			Linux	x86_64 (amd64)		Unknown				
