Project

General

Profile

Feature #6951

Initial c11 support

Added by Robert Mustacchi almost 5 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Category:
lib - userland libraries
Start date:
2018-05-09
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Difficulty:
Medium
Tags:
Gerrit CR:

Description

This covers the addition of an initial suite of support for ISO C11. It covers the following library and header changes:

  • Changes to assert.h to add the static_assert functionality
  • Changes to add the new type max_align_t
  • Updates function prototypes for the use of the _Noreturn keyword
  • Adds support for the stdalign.h header
  • Adds support for the stdnoreturn.h header
  • Adds support for the new library function timespec_get()
  • Adds support for the quick_exit() family of functions
  • Adds support for the new alligned_alloc() function

In addition, a full test suite and symbols tests have been added.


Subtasks

Bug #9527: assert.h: static_assert macro should be guarded by !defined(__cplusplus)ClosedAndy Fiddaman2018-05-09

Actions
#1

Updated by Electric Monk almost 5 years ago

  • Status changed from New to Closed

git commit fc2512cfb727d49529d8ed99164db871f4829b73

commit  fc2512cfb727d49529d8ed99164db871f4829b73
Author: Robert Mustacchi <rm@joyent.com>
Date:   2016-05-19T14:45:52.000Z

    6951 Initial c11 support
    6952 gets should not be visible in C11
    6953 add support for c11 threads api
    6954 Symbols test should support validating pre-processor symbols
    Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
    Reviewed by: Dan McDonald <danmcd@omniti.com>
    Reviewed by: Garrett D'Amore <garrett@damore.org>
    Approved by: Garrett D'Amore <garrett@damore.org>

Also available in: Atom PDF