compile warnings in Mac

"John Selverian" <[email protected]>
Newsgroups gmane.comp.lib.fox-toolkit.user
Organization JAHM Software
Message-ID <[email protected]>

On the Mac I get many of these 2 warnings when I compile my code, I just
ignore them and everything works fine:

 

 

It highlights the first line "ARROW_NONE = 0,             /// No arrow"

 

 

 

Declaration shadows a variable in namespace 'FX'

 

 

 

public:

  enum{

    ARROW_NONE = 0,             /// No arrow

    ARROW_UP   = 0x00000001,    /// Arrow pointing up

    ARROW_DOWN = 0x00000002,    /// Arrow pointing down

    PRESSED    = 0x00000004,    /// Pressed down

    ICONOWNED  = 0x00000008,    /// Icon owned by header item

    RIGHT      = 0x00000010,    /// Align on right

    LEFT       = 0x00000020,    /// Align on left

    CENTER_X   = 0,             /// Aling centered horizontally (default)

    TOP        = 0x00000040,    /// Align on top

    BOTTOM     = 0x00000080,    /// Align on bottom

    CENTER_Y   = 0,             /// Aling centered vertically (default)

    BEFORE     = 0x00000100,    /// Icon before the text

    AFTER      = 0x00000200,    /// Icon after the text

    ABOVE      = 0x00000400,    /// Icon above the text

    BELOW      = 0x00000800     /// Icon below the text

    };

 

 

 

 

And in FXPtrQueue.h:

 

Implicit conversion loses integer precision: 'FX::FXival' (aka 'long') to
'FX::FXuint' (aka 'unsigned int')

 

On this line:

 

  /// Return size

  FXuint getSize() const { return list.no(); }

 

 

 

 

 

Kind regards,

 

js

_______________________________________________
Foxgui-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/foxgui-users
image001.gif (image/gif, 70 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.