Update of bug #22323 (project freeciv):

                  Status:                    None => Ready For Test         
                 Summary: Trunk build failure in Qt client => C11 Static
Assert cannot be used in C++ code

    _______________________________________________________

Follow-up Comment #3:

Proper C++ implementation.

When compiling c++ -code use C++11 static_assert().

When I tested this, even version 4.9.0 of g++ required explicit
"-std=c++0x" -parameter for static_assert() to work. Otherwise it falls back
to our own implementation.

(file #21502)
    _______________________________________________________

Additional Item Attachment:

File name: C++11StaticAssert.patch        Size:2 KB


    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?22323>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to