FLTK logo

Re: [fltk.coredev] RFC: Removal of FL_CFG_* macros and config_lib.h

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: RFC: Removal of FL_CFG_* macros and config_lib.h Bill Spitzak Feb 19, 2021  
 
I think the question is whether a program can do anything useful with those return values.

The only use I can see is for a "glxinfo" type program to print out how fltk has been compiled.

If this is useful I would prefer it to be much more obvious that these are compile-time constants. Ideally there is a structure defined, and a single extern instance. This is compiled with a static assignment to a value that is controlled by #if statements.

On Fri, Feb 19, 2021 at 12:01 AM Manolo <manolo.gouy@gmail.com> wrote:
I have just verified that the same object file, hello.o, output by command
    g++ -I/path/to/source/FLTK/tree -c hello.cxx
can be linked to the dynamic libfltk libraries built with
OPTION_APPLE_X11 set either off or  on.
That provides a scenario where an app could test the values of Fl::cfg_gfx_quartz


--
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/8c5bd1f0-d7f0-4ad6-a22d-4d54605562f5n%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-8oAj0J%2BrVd4_1BWJ%3Dh5%2BMGPhX%3D1cy1yS4CY2FxuTT-GeSng%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'.