Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for C11 #24

Open
wants to merge 17 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -167,13 +167,17 @@ $(OBJDIR)/machdep.ml : src/machdep-ml.c configure.ac Makefile.in
@echo " sizeof_float: int; (* Size of \"float\" *)" >> $@
@echo " sizeof_double: int; (* Size of \"double\" *)" >> $@
@echo " sizeof_longdouble: int; (* Size of \"long double\" *)" >> $@
@echo " sizeof_float128: int; (* Size of \"__float128\" *)" >> $@
@echo " sizeof_floatcomplex: int; (* Size of \"float _Complex\" *)" >> $@
@echo " sizeof_doublecomplex: int; (* Size of \"double _Complex\" *)" >> $@
@echo " sizeof_longdoublecomplex: int; (* Size of \"long double _Complex\" *)" >> $@
@echo " sizeof_complex128: int; (* Size of \"__complex128\" *)" >> $@
@echo " sizeof_void: int; (* Size of \"void\" *)" >> $@
@echo " sizeof_fun: int; (* Size of function *)" >> $@
@echo " size_t: string; (* Type of \"sizeof(T)\" *)" >> $@
@echo " wchar_t: string; (* Type of \"wchar_t\" *)" >> $@
@echo " char16_t: string; (* Type of \"char16_t\" *)" >> $@
@echo " char32_t: string; (* Type of \"char32_t\" *)" >> $@
@echo " alignof_short: int; (* Alignment of \"short\" *)" >> $@
@echo " alignof_int: int; (* Alignment of \"int\" *)" >> $@
@echo " alignof_bool: int; (* Alignment of \"_Bool\" *)" >> $@
Expand All @@ -184,9 +188,11 @@ $(OBJDIR)/machdep.ml : src/machdep-ml.c configure.ac Makefile.in
@echo " alignof_float: int; (* Alignment of \"float\" *)" >> $@
@echo " alignof_double: int; (* Alignment of \"double\" *)" >> $@
@echo " alignof_longdouble: int; (* Alignment of \"long double\" *)" >> $@
@echo " alignof_float128: int; (* Alignment of \"__float128\" *)" >> $@
@echo " alignof_floatcomplex: int; (* Alignment of \"float _Complex\" *)" >> $@
@echo " alignof_doublecomplex: int; (* Alignment of \"double _Complex\" *)" >> $@
@echo " alignof_longdoublecomplex: int; (* Alignment of \"long double _Complex\" *)" >> $@
@echo " alignof_complex128: int; (* Alignment of \"__float128\" *)" >> $@
@echo " alignof_str: int; (* Alignment of strings *)" >> $@
@echo " alignof_fun: int; (* Alignment of function *)" >> $@
@echo " alignof_aligned: int; (* Alignment of anything with the \"aligned\" attribute *)" >> $@
Expand Down
12 changes: 12 additions & 0 deletions config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
/* Define to 1 if you have the `mkdir' function. */
#undef HAVE_MKDIR

/* Define to 1 if you have the <quadmath.h> header file. */
#undef HAVE_QUADMATH_H

/* Define to 1 if you have the `select' function. */
#undef HAVE_SELECT

Expand Down Expand Up @@ -42,6 +45,9 @@
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H

/* Define to 1 if you have the <uchar.h> header file. */
#undef HAVE_UCHAR_H

/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H

Expand Down Expand Up @@ -75,6 +81,12 @@
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
#undef TIME_WITH_SYS_TIME

/* Real integer type corresponding to char16_t. */
#undef TYPE_CHAR16_T

/* Real integer type corresponding to char32_t. */
#undef TYPE_CHAR32_T

/* Real integer type corresponding to size_t. */
#undef TYPE_SIZE_T

Expand Down
Loading