FLTK logo

Re: [fltk.coredev] Minor Feature request.

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: Minor Feature request. Gonzalo Garramuño 10:44 Apr 08  
 

On 8/4/24 14:00, 'Albrecht Schlosser' via fltk.coredev wrote:

Please report any issues with this commit here.
Tried it on Linux.  The report was good, but, probably not related, compilation failed with:

/FLTK-prefix/src/FLTK/src/Fl_Graphics_Driver.cxx
/home/gga/code/applications/mrv2/BUILD-Linux-amd64/Release/FLTK-prefix/src/FLTK/src/Fl_Graphics_Driver.cxx: In constructor ‘Fl_Scalable_Graphics_Driver::Fl_Scalable_Graphics_Driver()’: /home/gga/code/applications/mrv2/BUILD-Linux-amd64/Release/FLTK-prefix/src/FLTK/src/Fl_Graphics_Driver.cxx:748:3: error: ‘fontsize_’ was not declared in this scope
  748 |   fontsize_ = -1;
      |   ^~~~~~~~~
/home/gga/code/applications/mrv2/BUILD-Linux-amd64/Release/FLTK-prefix/src/FLTK/src/Fl_Graphics_Driver.cxx: In member function ‘virtual void Fl_Scalable_Graphics_Driver::font(Fl_Font, Fl_Fontsize)’: /home/gga/code/applications/mrv2/BUILD-Linux-amd64/Release/FLTK-prefix/src/FLTK/src/Fl_Graphics_Driver.cxx:866:3: error: ‘fontsize_’ was not declared in this scope
  866 |   fontsize_ = size;
      |   ^~~~~~~~~
/home/gga/code/applications/mrv2/BUILD-Linux-amd64/Release/FLTK-prefix/src/FLTK/src/Fl_Graphics_Driver.cxx: In member function ‘virtual Fl_Fontsize Fl_Scalable_Graphics_Driver::size()’: /home/gga/code/applications/mrv2/BUILD-Linux-amd64/Release/FLTK-prefix/src/FLTK/src/Fl_Graphics_Driver.cxx:883:10: error: ‘fontsize_’ was not declared in this scope
  883 |   return fontsize_;
      |          ^~~~~~~~~
[33/530] Building CXX object src/CMakeFiles/fltk.dir/Fl_Help_View.cxx.o
FAILED: src/CMakeFiles/fltk.dir/Fl_Help_View.cxx.o
/usr/bin/c++ -DFL_LIBRARY -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/home/gga/code/applications/mrv2/BUILD-Linux-amd64/Release/install/include -I/home/gga/code/applications/mrv2/BUILD-Linux-amd64/Release/FLTK-prefix/src/FLTK-build/src/.. -I/home/gga/code/applications/mrv2/BUILD-Linux-amd64/Release/FLTK-prefix/src/FLTK/src/.. -I/home/gga/code/applications/mrv2/BUILD-Linux-amd64/Release/install/include/freetype2 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -fPIC -I/home/gga/code/applications/mrv2/BUILD-Linux-amd64/Release/FLTK-prefix/src/FLTK-build/src -O3 -DNDEBUG -MD -MT src/CMakeFiles/fltk.dir/Fl_Help_View.cxx.o -MF src/CMakeFiles/fltk.dir/Fl_Help_View.cxx.o.d -o src/CMakeFiles/fltk.dir/Fl_Help_View.cxx.o -c /home/gga/code/applications/mrv2/BUILD-Linux-amd64/Release/FLTK-prefix/src/FLTK/src/Fl_Help_View.cxx In file included from /home/gga/code/applications/mrv2/BUILD-Linux-amd64/Release/FLTK-prefix/src/FLTK/src/Fl_Help_View.cxx:61: /home/gga/code/applications/mrv2/BUILD-Linux-amd64/Release/FLTK-prefix/src/FLTK/src/Fl_Help_View.cxx: In member function ‘void Fl_Help_View::add_link(const char*, int, int, int, int)’: /home/gga/code/applications/mrv2/BUILD-Linux-amd64/Release/FLTK-prefix/src/FLTK/src/flstring.h:88:21: error: ‘fl_strlcpy’ was not declared in this scope; did you mean ‘fl_strlcat’?
   88 | #    define strlcpy fl_strlcpy
      |                     ^~~~~~~~~~
/home/gga/code/applications/mrv2/BUILD-Linux-amd64/Release/FLTK-prefix/src/FLTK/src/Fl_Help_View.cxx:409:3: note: in expansion of macro ‘strlcpy’
  409 |   strlcpy(temp->filename, n, sizeof(temp->filename));
      |   ^~~~~~~
/home/gga/code/applications/mrv2/BUILD-Linux-amd64/Release/FLTK-prefix/src/FLTK/src/Fl_Help_View.cxx: In member function ‘void Fl_Help_View::add_target(const char*, int)’: /home/gga/code/applications/mrv2/BUILD-Linux-amd64/Release/FLTK-prefix/src/FLTK/src/flstring.h:88:21: error: ‘fl_strlcpy’ was not declared in this scope; did you mean ‘fl_strlcat’?
   88 | #    define strlcpy fl_strlcpy
      |                     ^~~~~~~~~~
/home/gga/code/applications/mrv2/BUILD-Linux-amd64/Release/FLTK-prefix/src/FLTK/src/Fl_Help_View.cxx:443:3: note: in expansion of macro ‘strlcpy’
  443 |   strlcpy(temp->name, n, sizeof(temp->name));
      |   ^~~~~~~
/home/gga/code/applications/mrv2/BUILD-Linux-amd64/Release/FLTK-prefix/src/FLTK/src/Fl_Help_View.cxx: In member function ‘void Fl_Help_View::format()’: /home/gga/code/applications/mrv2/BUILD-Linux-amd64/Release/FLTK-prefix/src/FLTK/src/flstring.h:88:21: error: ‘fl_strlcpy’ was not declared in this scope; did you mean ‘fl_strlcat’?
   88 | #    define strlcpy fl_strlcpy
      |                     ^~~~~~~~~~
/home/gga/code/applications/mrv2/BUILD-Linux-amd64/Release/FLTK-prefix/src/FLTK/src/Fl_Help_View.cxx:1369:13: note: in expansion of macro ‘strlcpy’
 1369 |             strlcpy(linkdest, a

...etc...

--
Gonzalo Garramuño
ggarra13@gmail.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/094f3277-5fb9-4a7f-90cf-779788630139%40gmail.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'.