[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Complie error of gl-render.cc (MinGW build : concerning to uimenu?)
From: |
Michael Goffioul |
Subject: |
Re: Complie error of gl-render.cc (MinGW build : concerning to uimenu?) |
Date: |
Tue, 2 Nov 2010 13:25:09 +0000 |
On Tue, Nov 2, 2010 at 12:48 PM, Kai Habel <address@hidden> wrote:
> Hello Tatsuro,
>
> this looks like name clash of "CALLBACK" to me. We use this in the
> enumeration in line 9387 of graphics.h and since you are using FLTK 1.3 you
> include for windows the fltk header file "Fl_Native_File_Chooser_Win32.H"
> where CALLBACK is used in another context. It sould be defined in of the
> windows header files e.g. <windows.h>, but I have not looked it up yet.
>
> So, in short term you could try to use fltk 1.1.10, which does not have a
> Native File Chooser. In the long term we need to find another solution, since
> FLTK 1.3 (becoming FLTK 1.4 sometimes) has some nice widget we could use
> (like this native file chooser). We could rename our enumeration to something
> like OCT_CALLBACK, OCT_FOREGROUNDCOLOR or something else ... .
I had a similar problem when implementing the uicontrol stuff. I fixed
it in my proposed
patch, by using _CALLBACK for that specific case. However, renaming all graphics
enumerations to OCT_xxx looks more elegant.
Michael.
- Complie error of gl-render.cc (MinGW build : concerning to uimenu?), Tatsuro MATSUOKA, 2010/11/01
- Re: Complie error of gl-render.cc (MinGW build : concerning to uimenu?), Kai Habel, 2010/11/02
- Re: Complie error of gl-render.cc (MinGW build : concerning to uimenu?),
Michael Goffioul <=
- Re: Complie error of gl-render.cc (MinGW build : concerning to uimenu?), Tatsuro MATSUOKA, 2010/11/04
- Re: Complie error of gl-render.cc (MinGW build : concerning to uimenu?), Kai Habel, 2010/11/09
- Re: Complie error of gl-render.cc (MinGW build : concerning to uimenu?), Tatsuro MATSUOKA, 2010/11/10
- Re: Complie error of gl-render.cc (MinGW build : concerning to uimenu?), Kai Habel, 2010/11/11
- Re: Complie error of gl-render.cc (MinGW build : concerning to uimenu?), John W. Eaton, 2010/11/11
- Re: Complie error of gl-render.cc (MinGW build : concerning to uimenu?), Kai Habel, 2010/11/11
- Re: Complie error of gl-render.cc (MinGW build : concerning to uimenu?), Michael Goffioul, 2010/11/11
- Re: Complie error of gl-render.cc (MinGW build : concerning to uimenu?), John W. Eaton, 2010/11/11
- Re: Complie error of gl-render.cc (MinGW build : concerning to uimenu?), Michael Goffioul, 2010/11/12
- Re: Complie error of gl-render.cc (MinGW build : concerning to uimenu?), Michael Goffioul, 2010/11/14