Project

General

Profile

Bug #6610

[Bug] Alpine doesn't provide a c89 and c99 symlink or wrapper

Added by anta ​ over 2 years ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
01/01/2017
Due date:
% Done:

100%

Estimated time:
Affected versions:
Security IDs:

Description

POSIX says there should be a c99 interface.
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/c99.html

Associated revisions

Revision 2d1d342e (diff)
Added by Natanael Copa over 1 year ago

main/gcc: add c89/c99 wrappers

required by POSIX
fixes #6610

History

#1 Updated by Natanael Copa over 2 years ago

  • Priority changed from High to Normal

What breaks without c89,c99?
How does it affect many users?
If it does not break things for many users, why was it set to "high" priority?

#2 Updated by Natanael Copa over 2 years ago

  • Target version changed from 3.5.1 to 3.6.0

I suppose we could add a small /usr/bin/c99 wrapper:

#!/bin/sh
std=${0##*/}
exec gcc -std=$std "$@" 

then symlink c89 to it too.

#3 Updated by anta ​ over 2 years ago

Sorry, should not have set to 'high'. You're right it doesn't break things.
It's just that some Makefiles from some softwares expect c99 or c89 instead of cc.
And POSIX calls for one.

Priority can even go to Low. But I can't edit it...

#4 Updated by Carlo Landmeter almost 2 years ago

  • Target version changed from 3.6.0 to 3.7.0

#5 Updated by Natanael Copa over 1 year ago

  • Target version changed from 3.7.0 to 3.8.0

#6 Updated by Natanael Copa over 1 year ago

This breaks vlc-3.0.0 build.

#7 Updated by Natanael Copa over 1 year ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

#8 Updated by Natanael Copa 11 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF