Menu

#166 Build failure with gcc 5 and C++11 (nullptr macros incorrect)

Next_Nightly
fixed
None
Bug_Report
2016-01-30
2015-05-05
No

Codeblocks fails to build with gcc 5.1 with -std=c++11 enabled with errors about nullptr.

This happens because in src/include/prep.h, the #if only checks

(GNUC == 4 && GNUC_MINOR >= 6)

It should be something like:

(GNUC == 4 && GNUC_MINOR >= 6) || GNUC > 4

Discussion

  • Lieven de Cock

    Lieven de Cock - 2015-05-05

    should be fixed in rev 10253.
    Can you verify please ?

     
  • Lieven de Cock

    Lieven de Cock - 2015-05-05
    • status: open --> fixed
    • assigned_to: Lieven de Cock
    • Milestone: Undefined --> Next Nightly
     

Log in to post a comment.

MongoDB Logo MongoDB