Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #19139

Closed (moved)
(moved)
Open
Created May 20, 2016 by cypherpunks@cypherpunks

Let Autoconf handle enabling C and POSIX extensions

The comment on src/common/compat.c:18 suggests using AC_USE_SYSTEM_EXTENSIONS. The attached patch does just that.

Defining the preprocessor macros globally ensures the extensions are always turned on. Running GCC in pedantic mode tells me that there are instances where the code assumes the extensions are enabled while missing the proper preprocessor macros. FWICT it currently just works because GCC and its headers turn their own extensions on by default.

The comment suggestion about maybe removing the environ configure check has not been researched.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking