Menu

#5424 GUB: glib patch needed to compile with gcc >=6.x.y

Fixed
GUB (16)
push
Enhancement
2018-10-12
2018-10-05
No

This is a GUB issue.
When launching 'make lilypond' on Fedora 28, gcc version 8.1, I get this error:

/home/dev/gub/target/tools/src/glib-2.44.1/glib/gdate.c: In function 'g_date_strftime':
/home/dev/gub/target/tools/src/glib-2.44.1/glib/gdate.c:2497:7: error: format not a string literal, format string not checked [-Werror=format-nonliteral]
       tmplen = strftime (tmpbuf, tmpbufsize, locale_format, &tm);
       ^~~~~~

This commit provides the solution.

I guess that adding a patch to GUB patches/ directory is the way to go.

This issue seems to suggest that the error started with gcc 6.2.1.

Discussion

  • Federico Bruni

    Federico Bruni - 2018-10-06
    • assigned_to: Federico Bruni
     
  • Anonymous

    Anonymous - 2018-10-08
    • Needs: -->
    • Patch: new --> review
    • Type: --> Enhancement
     
  • Anonymous

    Anonymous - 2018-10-08

    I guess I personally cannot 'test' this so am setting this to review (unles ssomeone else can run GUB to test?)

     
  • Anonymous

    Anonymous - 2018-10-09
    • Patch: review --> countdown
     
  • Anonymous

    Anonymous - 2018-10-09

    Patch on countdown for Oct 12th

     
  • Federico Bruni

    Federico Bruni - 2018-10-11
    • labels: --> GUB
     
  • Anonymous

    Anonymous - 2018-10-12
    • Patch: countdown --> push
     
  • Anonymous

    Anonymous - 2018-10-12

    Patch counted down - please 'push'.

     
  • Phil Holmes

    Phil Holmes - 2018-10-12

    I believe this has now been fixed with my merge pull today.

     
  • Phil Holmes

    Phil Holmes - 2018-10-12
    • status: Started --> Fixed
     
MongoDB Logo MongoDB