URL:
  <http://gna.org/patch/?6378>

                 Summary: Rename some functions that have same name as
structure
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Sun 27 Sep 2015 10:49:14 AM EEST
                Category: general
                Priority: 5 - Normal
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.6.0, 3.0.0

    _______________________________________________________

Details:

It's a bad idea to have an struct and a function with the same name. When
compiling as C++ and having -WShadow there's an error about genlist_link()
shadowing the constructor of genlist_link etc.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 27 Sep 2015 10:49:14 AM EEST  Name: ConstructorShadows.patch.bz2 
Size: 4kB   By: cazfi

<http://gna.org/patch/download.php?file_id=25194>
-------------------------------------------------------
Date: Sun 27 Sep 2015 10:49:14 AM EEST  Name:
ConstructorShadows-S2_6.patch.bz2  Size: 4kB   By: cazfi

<http://gna.org/patch/download.php?file_id=25195>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?6378>

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


_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to