Menu

#6 0.6.1 add CFLAGS = -std=gnu89

None
closed
nobody
None
5
2021-01-03
2016-06-12
Jari Aalto
No

with latest gcc, abook doesn't compile. The symptoms and solution are described in detail in posts:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=777764
https://gcc.gnu.org/gcc-5/porting_to.html

the solution is:

CFLAGS = -std=gnu89

Please update this to the sourcec (I'm not sure where in the .am .in files)

Discussion

  • Raphaël

    Raphaël - 2016-06-13

    thank you for reporting
    std=gnu89 is a workaround.
    I also opted for (another) workaround: -fgnu89-inline since I was unable to get it extern inline "the-right-way" while staying warning-free with >= C99.

     
  • Raphaël

    Raphaël - 2021-01-03
    • status: open --> closed
    • Group: -->
     
  • Raphaël

    Raphaël - 2021-01-03

    fixed (back in 54f8e4ac4e0bdf7622909c4cdf5768bebe72460c)

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.