FLTK logo

Re: [fltk.coredev] fltk-1.4 fluid build broken on 32-bit mingw

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.coredev  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: fltk-1.4 fluid build broken on 32-bit mingw Bill Spitzak Sep 28, 2021  
 
Sounds correct. You are right the problem appears to be a variable called fileno, not the function called fileno.

On Tue, Sep 28, 2021 at 10:37 AM imacarthur <imacarthur@gmail.com> wrote:
On Tuesday, 28 September 2021 at 08:45:16 UTC+1 Bill wrote:
Can you #undef fileno?
I agree that working around Microsoft stupidities are best done with a local patch, and not unnecessarily changing the code that works on other platforms (ie don't rename fileno!)

This is a slightly tricky one - we have a couple of compounded stupidities here; MS did a thing (which Albrecht dodged around) but that then collided with a stupid thing that the mingw32 folks did (presumably in their attempt to dodge so weirdness). And the underlying issue is that we had a class method called fileno that was then calling the "real" fileno - in the mingw32 case that meant we can't just #undef it, because our method then needs to use that macro expansion to get the actual operation...
The fix here is for us *not* to have a class method called fileno, basically, which is fine.



--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/3f0e889c-716e-4da9-bd80-4d1098aac0abn%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/CAL-8oAjg5k86KCZnGSVhdszK4omnLApZvuT8K3k4AZQ%2BtXVfJQ%40mail.gmail.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.