NO

Author Topic: orange c  (Read 4797 times)

czerny

  • Guest
orange c
« on: January 27, 2013, 05:53:10 PM »
Has anybody experiences with http://ladsoft.tripod.com/orangec.htm?

CLR

  • Guest
Re: orange c
« Reply #1 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.

czerny

  • Guest
Re: orange c
« Reply #2 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;
« Last Edit: January 29, 2013, 06:43:36 PM by czerny »

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2091
Re: orange c
« Reply #3 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).
May the source be with you

Offline AlexN

  • Global Moderator
  • Member
  • *****
  • Posts: 394
    • Alex's Link Sammlung
Re: orange c
« Reply #4 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. :)
best regards
 Alex ;)

czerny

  • Guest
Re: orange c
« Reply #5 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