#653 util.pposix: #warning is a GCC extension

Reporter Zash
Owner Zash
Created
Updated
Stars ★ (1)
Tags
  • Priority-Low
  • Status-Fixed
  • Milestone-0.10
  • Type-Defect
  1. Zash on

    What steps will reproduce the problem? Compile pposix.c without -D_GNU_SOURCE What is the expected output? Warning about fallocate() What do you see instead? Warning about #warning Debian 8.3 (jessie) with gcc version 4.9.2

  2. Zash on

    Changes
    • tags Priority-Low
  3. MattJ on

    Changes
    • tags Status-Accepted
  4. Zash on

    Oh it dissapeared: https://hg.prosody.im/0.10/rev/b619b85e01aa#l4.63

    Changes
    • owner Zash
    • tags Status-Fixed Milestone-0.10

New comment

Not published. Used for spam prevention and optional update notifications.