[haiku-bugs] Re: [Haiku] #13996: missing mkstemps function in stdlib.h

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Tue, 13 Oct 2020 16:47:59 -0000

#13996: missing mkstemps function in stdlib.h
--------------------------+----------------------------
  Reporter:  kallisti5    |      Owner:  kallisti5
      Type:  enhancement  |     Status:  assigned
  Priority:  normal       |  Milestone:  Unscheduled
 Component:  System       |    Version:  R1/Development
Resolution:               |   Keywords:
Blocked By:               |   Blocking:
  Platform:  All          |
--------------------------+----------------------------
Comment (by pulkomandy):

 Well, the feature is enabled by default if you don't specify anything. It
 is hidden only if you put gcc in strict mode (disable GNU extensions) by
 using, for example, -std=c99 (instead of -std=gnu99 which leaves
 extensions enabled).

 It's jpeg-xl fault for using a function not in the standard, and
 explicitly asking the compiler to follow the standard.

 We can document it, sure. Should we add it to api.haiku-os.org under a
 "libbsd" section?
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/13996#comment:22>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: