Pelles C forum

General => Chit-Chat => Topic started by: czerny on January 27, 2013, 05:53:10 PM

Title: orange c
Post 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)?
Title: Re: orange c
Post by: CLR on January 28, 2013, 03:52:07 AM
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.
Title: Re: orange c
Post by: czerny on January 29, 2013, 06:27:46 PM
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:
Code: [Select]
typedef struct {
  HTREEITEM hParent;
  HTREEITEM hInsertAfter;
#if (_WIN32_IE >= 0x0400)
  union {
    TVITEMEX itemex;
    TVITEM   item;
  } DUMMYUNIONNAME;
#else
  TVITEM    item;
#endif
} TVINSERTSTRUCT, *LPTVINSERTSTRUCT;
Title: Re: orange c
Post by: TimoVJL on January 30, 2013, 09:03:19 PM
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).
Title: Re: orange c
Post by: AlexN on February 11, 2013, 12:35:33 PM
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. :)
Title: Re: orange c
Post by: czerny on February 12, 2013, 05:56:51 PM
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