Project

General

Profile

Actions

Feature #6951

closed

Initial c11 support

Added by Robert Mustacchi over 7 years ago. Updated over 5 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:
External Bug:

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 1 (0 open1 closed)

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

Actions

Related issues

Related to illumos gate - Bug #7258: 6951 caused uberdata32_t size to be incorrectClosedRobert Mustacchi2016-08-02

Actions
Actions #1

Updated by Electric Monk over 7 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>

Actions #2

Updated by Marcel Telka over 1 year ago

  • Related to Bug #7258: 6951 caused uberdata32_t size to be incorrect added
Actions

Also available in: Atom PDF