Pelles C forum
General => Chit-Chat => Topic started by: czerny on January 27, 2013, 05:53:10 PM
-
Has anybody experiences with http://ladsoft.tripod.com/orangec.htm (http://ladsoft.tripod.com/orangec.htm)?
-
Hi czerny.
I've tried CC386 from the same vendor and I found that is very good. Sadly there is no forum for the product.
I haven't tried Orange C yet.
-
What I have learned is that pelles c can handle nameless unions in structs (a c11 feature), and orange c can not. It uses a dummy union name 'u'. I have seen this for example in:
typedef struct {
HTREEITEM hParent;
HTREEITEM hInsertAfter;
#if (_WIN32_IE >= 0x0400)
union {
TVITEMEX itemex;
TVITEM item;
} DUMMYUNIONNAME;
#else
TVITEM item;
#endif
} TVINSERTSTRUCT, *LPTVINSERTSTRUCT;
-
For those who want to test compiling occ.exe with PellesC.
Source files are modified for PellesC (msvc).
Test occ.exe with something like 'occ.exe /C+F /Smasm hello.c' to see assembler code it generate.
BTW: occ.exe can't handle PellesC include files (Win).
-
Hi czerny.
I've tried CC386 from the same vendor and I found that is very good. Sadly there is no forum for the product.
I haven't tried Orange C yet.
I have tried some time ago. It's nice, but I had some little mistakes - so it makes not really fun to use it.
you can contact the author by email and he answers usualy quickly. :)
-
I have tried some time ago. It's nice, but I had some little mistakes - so it makes not really fun to use it.
you can contact the author by email and he answers usualy quickly. :)
What are the mistakes you have found?
I have had some problems with same compiler/linker options. But may be I have misunderstood the docs.
czerny