i see that you cannot use #include <stddef.h>, why ?
The more i play with this the more i have a love / hate feeling for this new Beta.
The more i use it the more i like it, yet the more i use it the more i see that its not an ANSI C Compiler.
Such as disappointment. There is such real potential here, but its being held way back because of this.
I am trying to use FreeRTOS with your compiler, but i am getting slammed with errors left and right because i cannot use standard C include files.
why no #include <stddef.h>
- mileta.miletic
- mikroElektronika team
- Posts: 493
- Joined: 05 Jun 2009 14:46
- Location: Belgrade, Serbia
- Contact:
Re: why no #include <stddef.h>
Hi,
mikroC is ANSI C compliant compiler. The functions have been mostly implemented according to the ANSI C standard, but certain functions have been modified in order to support embedded programming.
As for stddef header file, we will add it in the next release.
mikroC is ANSI C compliant compiler. The functions have been mostly implemented according to the ANSI C standard, but certain functions have been modified in order to support embedded programming.
As for stddef header file, we will add it in the next release.
Regards,
Mileta
Mileta
Re: why no #include <stddef.h>
This is a good decision looking forward to itAs for stddef header file, we will add it in the next release.
P.Erasmus
Saratov,Russia
--------------------------------------------------------------
Saratov,Russia
--------------------------------------------------------------
Re: why no #include <stddef.h>
I should have not said
what i meant was to say is the typical C lib files should all be available, Maby not all, but at lease some of the main ones.
For example.
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include <predef.h>
#include <math.h>
as shown here:
http://en.wikipedia.org/wiki/C_standard_library
. Sorry for that.its not an ANSI C Compiler
what i meant was to say is the typical C lib files should all be available, Maby not all, but at lease some of the main ones.
For example.
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include <predef.h>
#include <math.h>
as shown here:
http://en.wikipedia.org/wiki/C_standard_library
Re: why no #include <stddef.h>
From your list most of them are already included in the compiler
- Attachments
-
- 2.jpg (7.32 KiB) Viewed 5637 times
P.Erasmus
Saratov,Russia
--------------------------------------------------------------
Saratov,Russia
--------------------------------------------------------------
Re: why no #include <stddef.h>
true, just was an example.