URL:
  <http://gna.org/bugs/?18963>

                 Summary: Namespace conflict between min() callback in
options.c and macro with same name
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Wed 09 Nov 2011 11:54:07 PM EET
                Category: client
                Severity: 3 - Normal
                Priority: 9 - Immediate
                  Status: Ready For Test
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 
         Discussion Lock: Any
        Operating System: Microsoft Windows
         Planned Release: 2.3.1, 2.4.0, 2.5.0

    _______________________________________________________

Details:

Windows compilation fails because it tries to expand min() -callback from
options.c as macro (complaining that it should take two arguments)

Attached fix avoids namespace conflict by renaming callbacks minimum() and
maximum()

As a compilation fix will be committed immediately.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 09 Nov 2011 11:54:07 PM EET  Name: MinNamespace.diff  Size: 2kB  
By: cazfi

<http://gna.org/bugs/download.php?file_id=14503>

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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