Project

General

Profile

Bug #5066

remove support for non-ANSI compilation

Added by Garrett D'Amore almost 6 years ago. Updated almost 6 years ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

We'd like to clean up the #ifdef spaghetti. The first step in this is to get rid of all those checks for STDC and the legacy K&R prototypes.

Once this change is complete, it will not be possible to compile non-ANSI compliant C on illumos. That's OK, as ANSI has been a standard for 25 years now.


Related issues

Related to illumos gate - Bug #5067: rpcgen should build ANSI compliant code onlyIn Progress2014-08-05

Actions

History

#1

Updated by Electric Monk almost 6 years ago

  • % Done changed from 90 to 100
  • Status changed from In Progress to Closed

git commit ba3594ba9b5dd4c846c472a8d657edcb7c8109ac

commit  ba3594ba9b5dd4c846c472a8d657edcb7c8109ac
Author: Garrett D'Amore <garrett@damore.org>
Date:   2014-08-15T18:49:54.000Z

    5066 remove support for non-ANSI compilation
    5068 Remove SCCSID() macro from <macros.h>
    Reviewed by: Keith Wesolowski <keith.wesolowski@joyent.com>
    Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
    Approved by: Robert Mustacchi <rm@joyent.com>

Also available in: Atom PDF