projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae8343f
)
cp_error045: winnt.h needs a pointer type to a stdcall function
author
Moritz Kroll
<Moritz.Kroll@gmx.de>
Fri, 8 Aug 2008 00:39:37 +0000
(
00:39
+0000)
committer
Moritz Kroll
<Moritz.Kroll@gmx.de>
Fri, 8 Aug 2008 00:39:37 +0000
(
00:39
+0000)
[r21057]
parsetest/cp_error045.c
[new file with mode: 0644]
patch
|
blob
diff --git a/parsetest/cp_error045.c
b/parsetest/cp_error045.c
new file mode 100644
(file)
index 0000000..
085bcb6
--- /dev/null
+++ b/
parsetest/cp_error045.c
@@ -0,0
+1,12
@@
+// works with gcc 3.4.4 and icc 10.1
+typedef void(*__cdecl PIMAGE_TLS_CALLBACK)();
+typedef void(__cdecl* PIMAGE_TLS_CALLBACK2)();
+
+// works with gcc 3.4.4
+typedef void(__attribute__((__stdcall__)) *PIMAGE_TLS_CALLBACK3)();
+typedef void(*__attribute__((__stdcall__)) PIMAGE_TLS_CALLBACK4)();
+
+int main(void)
+{
+ return 0;
+}