Didn't work either :-/

I also tried -all_includes and -include_headers but with no success... :(

Cheers,

Alex

Julia Lawall wrote:
Try the option -relax_include_path

I have no idea why it is not the default, though...

julia



On Thu, 17 Dec 2009, Alex Carrasco wrote:

Hi!

While trying to apply a semantic patch I realised that the spatch tool didn't
find the #include "somefile.h" when that file wasn't in the same local
directory as the including file, but in a include directory specified with the
option -I somedir.

I've checked the C99 standard and it seems that the expected behaviour of the
preprocessor is to treat a #include "somefile.h" as if it were #include
<somefile.h> if the file is not found with the first lookup method.

I've been trying to make that change myself, but I fear that my knowledge of
OCaml is too basic and the spatch code is too complex for me to dive into it
without guidance :-(

Could I ask for this feature to be included in the next release?

Thank you very much!

Alex
-
This message is subject to Imagination Technologies' e-mail terms:
http://www.imgtec.com/e-mail.htm

Imagination Technologies Ltd is a limited company registered in England No:
1306335 Registered Office: Imagination House, Home Park Estate, Kings Langley,
Hertfordshire, WD4 8LZ. Email to and from the company may be monitored for compliance and other
administrative purposes.  -

_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)



-
This message is subject to Imagination Technologies' e-mail terms: 
http://www.imgtec.com/e-mail.htm

Imagination Technologies Ltd is a limited company registered in England No: 1306335 Registered Office: Imagination House, Home Park Estate, Kings Langley, Hertfordshire, WD4 8LZ. Email to and from the company may be monitored for compliance and other administrative purposes. -

_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)

Reply via email to