I would like to try this out from the package "coccinelle 1.0.0-13.4" on my
openSUSE 12.1 system. But I stumble on the following messages.
elfring@Sonne:~/Projekte/Coccinelle/lokal/demos/pass-through> spatch -sp_file
list_pass-through_functions.cocci -dir ~/Projekte/vorher/Wine/lokal/dlls -I
~/Projekte/vorher/Wine/lokal/include -recursive_includes
>list_pass-through_functions-wine.txt 2>list_pass-through_functions-wine-errors.txt
HANDLING:
/home/elfring/Projekte/vorher/Wine/lokal/dlls/crypt32/tests/protectdata.c
EXN:Failure("lexical error <> detected, try -c++ option\n =File
\"/home/elfring/Projekte/vorher/Wine/lokal/include/guiddef.h\", line 42, column
34, charpos = 1364\n around = '__wine_uuidof<type>', whole content =
template<> inline const GUID &__wine_uuidof<type>() { \\")
Are there any chances that source code like the following can be eventually
skipped by the Coccinelle software?
...
/* Macros for __uuidof emulation */
#if defined(__cplusplus) && !defined(_MSC_VER)
extern "C++" {
template<typename T> const GUID &__wine_uuidof();
}
...
Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)