edrosten / gvars

Lightweight and simple configuration library for C++ programs.
Other
29 stars 22 forks source link

Missing toon and fltk??? How come??? #7

Open jiapei100 opened 7 years ago

jiapei100 commented 7 years ago

Hi, Edward Rosten:

When I tried to build gvars, I got the following error messages: I actually just have your TooN and libcvd installed (from github, not from savannah ).

My Computer Environment: Ubuntu 16.04.1 GCC/G++: 5.4.0 fltk: 1.3.3-7 from default repository

jiapei:gvars$ ./configure --disable-widgets checking for gawk... gawk checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking iostream usability... yes checking iostream presence... yes checking for iostream... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking if compiler flag -Wall works... yes checking if compiler flag -Wextra works... yes

Checking for options

checking for TooN... no checking for TooN-2... no checking if compiler flag -pthread works... yes checking for rl_done in -lreadline... yes

Checking for widget libraries (provides GUI_...)

checking for fltk2-config... no checking FL/Fl.H usability... yes checking FL/Fl.H presence... yes checking for FL/Fl.H... yes checking for main in -lfltk... yes Options: readline gui

Missing options: toon GUI support: fltk

It's OK that I built the code without GUI, but better with toon and fltk, right???

Cheers Pei

edrosten commented 7 years ago

If you're using the latest version of TooN, you'll need to do:

./configure CXXFLAGS+=-std=c++14

since TooN from github is C++14 only. I don't really understand your question about fltk: it's an optional component for interactive programs only. You can use either fltk or the now abandoned fltk-2 toolkit. You can't use both at once of course.

-Ed

On 3 October 2016 at 22:29, JIA Pei notifications@github.com wrote:

Hi, Edward Rosten:

When I tried to build gvars, I got the following error messages: I actually just have your TooN and libcvd installed (from github, not from savannah ).

My Computer Environment: Ubuntu 16.04.1 GCC/G++: 5.4.0 fltk: 1.3.3-7 from default repository

jiapei:gvars$ ./configure --disable-widgets checking for gawk... gawk checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking iostream usability... yes checking iostream presence... yes checking for iostream... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking if compiler flag -Wall works... yes

checking if compiler flag -Wextra works... yes

Checking for options

checking for TooN... no checking for TooN-2... no checking if compiler flag -pthread works... yes

checking for rl_done in -lreadline... yes

Checking for widget libraries (provides GUI_...)

checking for fltk2-config... no checking FL/Fl.H usability... yes checking FL/Fl.H presence... yes checking for FL/Fl.H... yes checking for main in -lfltk... yes Options: readline gui

Missing options: toon GUI support: fltk

It's OK that I built the code without GUI, but better with toon and fltk, right???

Cheers Pei

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/edrosten/gvars/issues/7, or mute the thread https://github.com/notifications/unsubscribe-auth/ABGW66iArhIC3VSI8F7RTSisBzQq7pEXks5qwXO-gaJpZM4KNEHs .

jiapei100 commented 7 years ago

Thank you @edrosten

Now, I made some progress:

jiapei:gvars$ ./configure CXXFLAGS=-std=c++14 checking for gawk... gawk checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking iostream usability... yes checking iostream presence... yes checking for iostream... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking if compiler flag -Wall works... yes checking if compiler flag -Wextra works... yes


Checking for options

checking for TooN... yes checking for TooN-2... yes checking if compiler flag -pthread works... yes checking for rl_done in -lreadline... yes


Checking for widget libraries (provides GUI_...)

checking for fltk2-config... no checking FL/Fl.H usability... yes checking FL/Fl.H presence... yes checking for FL/Fl.H... yes checking for main in -lfltk... yes Options: toon readline gui

Missing options:

GUI support: fltk

configure: creating ./config.status config.status: creating Makefile config.status: creating gvars3/config.h config.status: gvars3/config.h is unchanged jiapei:gvars$

Why fltk is still missing? Check my attached picture http://www.longervision.com/questions/gvars.png

I'm using Ubuntu 16.04.1, and I have all related fltk 1.3 packages installed . It looks like fltk-2 is OLD and has already been ABANDONED. I use fltk 1.3 ONLY, without having fltk-2.0 installed. But why fltk is still reported as one of the Missing Options ?

Thanks

Pei

edrosten commented 7 years ago

But why fltk is reported as one of the Missing Options for now?

That's strange, it might be a bug in the configure script. When you type "make" does it build the FLTK related code?

On 4 October 2016 at 13:46, JIA Pei notifications@github.com wrote:

Thank you @edrosten https://github.com/edrosten

Now, I made some progress:

jiapei:gvars$ ./configure CXXFLAGS=-std=c++14

checking for gawk... gawk checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking iostream usability... yes checking iostream presence... yes checking for iostream... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking if compiler flag -Wall works... yes checking if compiler flag -Wextra works... yes


Checking for options

checking for TooN... yes checking for TooN-2... yes checking if compiler flag -pthread works... yes

checking for rl_done in -lreadline... yes

Checking for widget libraries (provides GUI_...)

\ checking for fltk2-config... no** checking FL/Fl.H usability... yes checking FL/Fl.H presence... yes checking for FL/Fl.H... yes checking for main in -lfltk... yes Options: toon readline gui

**Missing options:

GUI support: fltk**

configure: creating ./config.status config.status: creating Makefile config.status: creating gvars3/config.h config.status: gvars3/config.h is unchanged jiapei:gvars$

Why fltk is still missing? Check my attached picture http://www.longervision.com/questions/gvars.png

I'm using Ubuntu 16.04.1, and I have all related fltk 1.3 packages installed . It looks like fltk-2 is OLD and has already been ABANDONED. I don't use both fltk 1.3 and fltk-2 at the same time. But why fltk is reported as one of the Missing Options for now?

Thanks

Pei

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/edrosten/gvars/issues/7#issuecomment-251377546, or mute the thread https://github.com/notifications/unsubscribe-auth/ABGW6yX046ffKlhKyL7vPZ923lAXm2ulks5qwkqagaJpZM4KNEHs .

jiapei100 commented 7 years ago

The following is what I obtained... It looks like the FLTK code is also built? At least, it seems GUI_Fltk.cc has been built ???

Any further suggestions?


Checking for widget libraries (provides GUI_...)

checking for fltk2-config... no checking FL/Fl.H usability... yes checking FL/Fl.H presence... yes checking for FL/Fl.H... yes checking for main in -lfltk... yes Options: toon readline gui

Missing options:

GUI support: fltk

configure: creating ./config.status config.status: creating Makefile config.status: creating gvars3/config.h config.status: gvars3/config.h is unchanged jiapei:gvars$ make g++ -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -std=c++14 -Wall -Wextra -pthread -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -c -o src/gvars3.o src/gvars3.cc In file included from ./gvars3/gvars3.h:33:0, from src/gvars3.cc:22: ./gvars3/default.h:98:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr val; ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/gvars3.h:33, from src/gvars3.cc:22: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ In file included from ./gvars3/gvars3.h:33:0, from src/gvars3.cc:22: ./gvars3/default.h: In member function ‘void GVars3::ValueHolder<C, 1>::set(const C&)’: ./gvars3/default.h:123:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] val = std::auto_ptr(new C(c)); ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/gvars3.h:33, from src/gvars3.cc:22: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ g++ -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -std=c++14 -Wall -Wextra -pthread -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -c -o src/GUI.o src/GUI.cc In file included from ./gvars3/gvars3.h:33:0, from ./gvars3/GUI.h:25, from src/GUI.cc:22: ./gvars3/default.h:98:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr val; ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/gvars3.h:33, from ./gvars3/GUI.h:25, from src/GUI.cc:22: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ In file included from ./gvars3/gvars3.h:33:0, from ./gvars3/GUI.h:25, from src/GUI.cc:22: ./gvars3/default.h: In member function ‘void GVars3::ValueHolder<C, 1>::set(const C&)’: ./gvars3/default.h:123:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] val = std::auto_ptr(new C(c)); ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/gvars3.h:33, from ./gvars3/GUI.h:25, from src/GUI.cc:22: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ g++ -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -std=c++14 -Wall -Wextra -pthread -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -c -o src/GStringUtil.o src/GStringUtil.cc In file included from ./gvars3/serialize.h:25:0, from ./gvars3/GStringUtil.h:28, from src/GStringUtil.cc:22: ./gvars3/default.h:98:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr val; ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/serialize.h:25, from ./gvars3/GStringUtil.h:28, from src/GStringUtil.cc:22: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ In file included from ./gvars3/serialize.h:25:0, from ./gvars3/GStringUtil.h:28, from src/GStringUtil.cc:22: ./gvars3/default.h: In member function ‘void GVars3::ValueHolder<C, 1>::set(const C&)’: ./gvars3/default.h:123:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] val = std::auto_ptr(new C(c)); ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/serialize.h:25, from ./gvars3/GStringUtil.h:28, from src/GStringUtil.cc:22: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ g++ -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -std=c++14 -Wall -Wextra -pthread -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -c -o src/gvars2.o src/gvars2.cc In file included from ./gvars3/gvars3.h:33:0, from src/gvars2.cc:22: ./gvars3/default.h:98:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr val; ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/gvars3.h:33, from src/gvars2.cc:22: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ In file included from ./gvars3/gvars3.h:33:0, from src/gvars2.cc:22: ./gvars3/default.h: In member function ‘void GVars3::ValueHolder<C, 1>::set(const C&)’: ./gvars3/default.h:123:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] val = std::auto_ptr(new C(c)); ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/gvars3.h:33, from src/gvars2.cc:22: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ g++ -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -std=c++14 -Wall -Wextra -pthread -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -c -o src/serialize.o src/serialize.cc In file included from ./gvars3/serialize.h:25:0, from src/serialize.cc:22: ./gvars3/default.h:98:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr val; ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/serialize.h:25, from src/serialize.cc:22: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ In file included from ./gvars3/serialize.h:25:0, from src/serialize.cc:22: ./gvars3/default.h: In member function ‘void GVars3::ValueHolder<C, 1>::set(const C&)’: ./gvars3/default.h:123:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] val = std::auto_ptr(new C(c)); ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/serialize.h:25, from src/serialize.cc:22: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ g++ -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -std=c++14 -Wall -Wextra -pthread -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -c -o src/GUI_Fltk.o src/GUI_Fltk.cc In file included from ./gvars3/gvars3.h:33:0, from ./gvars3/GUI.h:25, from ./gvars3/instances.h:22, from src/GUI_Fltk.cc:22: ./gvars3/default.h:98:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr val; ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/gvars3.h:33, from ./gvars3/GUI.h:25, from ./gvars3/instances.h:22, from src/GUI_Fltk.cc:22: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ In file included from ./gvars3/gvars3.h:33:0, from ./gvars3/GUI.h:25, from ./gvars3/instances.h:22, from src/GUI_Fltk.cc:22: ./gvars3/default.h: In member function ‘void GVars3::ValueHolder<C, 1>::set(const C&)’: ./gvars3/default.h:123:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] val = std::auto_ptr(new C(c)); ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/gvars3.h:33, from ./gvars3/GUI.h:25, from ./gvars3/instances.h:22, from src/GUI_Fltk.cc:22: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ src/GUI_Fltk.cc: In static member function ‘static void* GVars3::GUI_Fltk::do_stuffCB(void)’: src/GUI_Fltk.cc:71:12: warning: unused variable ‘t’ [-Wunused-variable] GUIFltk t = (GUIFltk)v; ^ src/GUI_Fltk.cc: At global scope: src/GUI_Fltk.cc:92:51: warning: unused parameter ‘sCommand’ [-Wunused-parameter] void GUIFltk::InitXInterfaceCB(void ptr, string sCommand, string sParams) ^ src/GUI_Fltk.cc:156:46: warning: unused parameter ‘sCommand’ [-Wunused-parameter] void GUI_Fltk::AddWindowCB(void* ptr, string sCommand, string sParams) ^ src/GUI_Fltk.cc:275:62: warning: unused parameter ‘args’ [-Wunused-parameter] void GUI_Fltk::DestroyWindowCB(void* ptr, string cmd, string args) ^ src/GUI_Fltk.cc: In constructor ‘GVars3::cmd_button::cmd_button(std::cxx11::string, std::cxx11::string)’: src/GUI_Fltk.cc:330:15: warning: ‘GVars3::cmd_button::labl’ will be initialized after [-Wreorder] string cmd, labl; ^ src/GUI_Fltk.cc:330:10: warning: ‘std::cxx11::string GVars3::cmd_button::cmd’ [-Wreorder] string cmd, labl; ^ src/GUI_Fltk.cc:321:3: warning: when initialized here [-Wreorder] cmd_button(string name, string command) ^ src/GUI_Fltk.cc: In constructor ‘GVars3::toggle_button::toggle_button(std::cxx11::string, std::cxx11::string, std::cxx11::string)’: src/GUI_Fltk.cc:399:10: warning: ‘GVars3::toggle_button::labl’ will be initialized after [-Wreorder] string labl; ^ src/GUI_Fltk.cc:398:14: warning: ‘GVars3::gvar3 GVars3::toggle_button::my_int’ [-Wreorder] gvar3 my_int; ^ src/GUI_Fltk.cc:381:3: warning: when initialized here [-Wreorder] toggle_button(string name, string gvar, string def) ^ g++ -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -std=c++14 -Wall -Wextra -pthread -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -c -o src/GUI_non_readline.o src/GUI_non_readline.cc In file included from ./gvars3/gvars3.h:33:0, from ./gvars3/GUI.h:25, from ./gvars3/instances.h:22, from src/GUI_non_readline.cc:22: ./gvars3/default.h:98:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr val; ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/gvars3.h:33, from ./gvars3/GUI.h:25, from ./gvars3/instances.h:22, from src/GUI_non_readline.cc:22: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ In file included from ./gvars3/gvars3.h:33:0, from ./gvars3/GUI.h:25, from ./gvars3/instances.h:22, from src/GUI_non_readline.cc:22: ./gvars3/default.h: In member function ‘void GVars3::ValueHolder<C, 1>::set(const C&)’: ./gvars3/default.h:123:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] val = std::auto_ptr(new C(c)); ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/gvars3.h:33, from ./gvars3/GUI.h:25, from ./gvars3/instances.h:22, from src/GUI_non_readline.cc:22: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ g++ -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -std=c++14 -Wall -Wextra -pthread -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -c -o src/inst.o src/inst.cc In file included from ./gvars3/gvars3.h:33:0, from ./gvars3/GUI.h:25, from ./gvars3/instances.h:22, from src/inst.cc:22: ./gvars3/default.h:98:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr val; ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/gvars3.h:33, from ./gvars3/GUI.h:25, from ./gvars3/instances.h:22, from src/inst.cc:22: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ In file included from ./gvars3/gvars3.h:33:0, from ./gvars3/GUI.h:25, from ./gvars3/instances.h:22, from src/inst.cc:22: ./gvars3/default.h: In member function ‘void GVars3::ValueHolder<C, 1>::set(const C&)’: ./gvars3/default.h:123:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] val = std::auto_ptr(new C(c)); ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/gvars3.h:33, from ./gvars3/GUI.h:25, from ./gvars3/instances.h:22, from src/inst.cc:22: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ g++ -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -std=c++14 -Wall -Wextra -pthread -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -c -o src/GUI_no_language.o src/GUI_no_language.cc src/GUI_no_language.cc:34:33: warning: unused parameter ‘l’ [-Wunused-parameter] void remove_lang(GUI_language* l) ^ g++ -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -std=c++14 -Wall -Wextra -pthread -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -c -o src/GUI_readline.o src/GUI_readline.cc In file included from ./gvars3/gvars3.h:33:0, from ./gvars3/GUI.h:25, from ./gvars3/instances.h:22, from src/GUI_readline.cc:22: ./gvars3/default.h:98:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr val; ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/gvars3.h:33, from ./gvars3/GUI.h:25, from ./gvars3/instances.h:22, from src/GUI_readline.cc:22: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ In file included from ./gvars3/gvars3.h:33:0, from ./gvars3/GUI.h:25, from ./gvars3/instances.h:22, from src/GUI_readline.cc:22: ./gvars3/default.h: In member function ‘void GVars3::ValueHolder<C, 1>::set(const C&)’: ./gvars3/default.h:123:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] val = std::auto_ptr(new C(c)); ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/gvars3.h:33, from ./gvars3/GUI.h:25, from ./gvars3/instances.h:22, from src/GUI_readline.cc:22: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ g++ -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -std=c++14 -Wall -Wextra -pthread -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -c -o src/GUI_impl_readline.o src/GUI_impl_readline.cc In file included from ./gvars3/gvars3.h:33:0, from ./gvars3/GUI.h:25, from src/GUI_impl_readline.cc:1: ./gvars3/default.h:98:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr val; ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/gvars3.h:33, from ./gvars3/GUI.h:25, from src/GUI_impl_readline.cc:1: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ In file included from ./gvars3/gvars3.h:33:0, from ./gvars3/GUI.h:25, from src/GUI_impl_readline.cc:1: ./gvars3/default.h: In member function ‘void GVars3::ValueHolder<C, 1>::set(const C&)’: ./gvars3/default.h:123:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] val = std::auto_ptr(new C(c)); ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/gvars3.h:33, from ./gvars3/GUI.h:25, from src/GUI_impl_readline.cc:1: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ ar crvs libGVars3.a src/gvars3.o src/GUI.o src/GStringUtil.o src/gvars2.o src/serialize.o src/GUI_Fltk.o src/GUI_non_readline.o src/inst.o src/GUI_no_language.o src/GUI_readline.o src/GUI_impl_readline.o a - src/gvars3.o a - src/GUI.o a - src/GStringUtil.o a - src/gvars2.o a - src/serialize.o a - src/GUI_Fltk.o a - src/GUI_non_readline.o a - src/inst.o a - src/GUI_no_language.o a - src/GUI_readline.o a - src/GUI_impl_readline.o g++ -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -std=c++14 -Wall -Wextra -pthread -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -c -o src/GUI_none.o src/GUI_none.cc In file included from ./gvars3/gvars3.h:33:0, from ./gvars3/GUI.h:25, from ./gvars3/instances.h:22, from src/GUI_none.cc:22: ./gvars3/default.h:98:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr val; ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/gvars3.h:33, from ./gvars3/GUI.h:25, from ./gvars3/instances.h:22, from src/GUI_none.cc:22: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ In file included from ./gvars3/gvars3.h:33:0, from ./gvars3/GUI.h:25, from ./gvars3/instances.h:22, from src/GUI_none.cc:22: ./gvars3/default.h: In member function ‘void GVars3::ValueHolder<C, 1>::set(const C&)’: ./gvars3/default.h:123:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] val = std::auto_ptr(new C(c)); ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/gvars3.h:33, from ./gvars3/GUI.h:25, from ./gvars3/instances.h:22, from src/GUI_none.cc:22: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ g++ -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -std=c++14 -Wall -Wextra -pthread -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -c -o src/GUI_impl_headless.o src/GUI_impl_headless.cc In file included from ./gvars3/gvars3.h:33:0, from ./gvars3/GUI.h:25, from src/GUI_impl_headless.cc:1: ./gvars3/default.h:98:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr val; ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/gvars3.h:33, from ./gvars3/GUI.h:25, from src/GUI_impl_headless.cc:1: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ In file included from ./gvars3/gvars3.h:33:0, from ./gvars3/GUI.h:25, from src/GUI_impl_headless.cc:1: ./gvars3/default.h: In member function ‘void GVars3::ValueHolder<C, 1>::set(const C&)’: ./gvars3/default.h:123:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] val = std::auto_ptr(new C(c)); ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/gvars3.h:33, from ./gvars3/GUI.h:25, from src/GUI_impl_headless.cc:1: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ ar crvs libGVars3_headless.a src/gvars3.o src/GUI.o src/GStringUtil.o src/gvars2.o src/serialize.o src/GUI_none.o src/GUI_impl_headless.o src/inst.o src/GUI_no_language.o a - src/gvars3.o a - src/GUI.o a - src/GStringUtil.o a - src/gvars2.o a - src/serialize.o a - src/GUI_none.o a - src/GUI_impl_headless.o a - src/inst.o a - src/GUI_no_language.o rm -f libGVars3_headless.so libGVars3_headless.so.0 libGVars3_headless.so.0.6 g++ -shared -o libGVars3_headless.so.0.6 src/gvars3.o src/GUI.o src/GStringUtil.o src/gvars2.o src/serialize.o src/GUI_none.o src/GUI_impl_headless.o src/inst.o src/GUI_no_language.o -lm ln -s libGVars3_headless.so.0.6 libGVars3_headless.so.0 ln -s libGVars3_headless.so.0 libGVars3_headless.so jiapei:gvars$ ls 01_configurehelp.txt config.guess config.sub fltk2_test gvars3 libGVars3_headless.a libGVars3_headless.so.0.6 Makefile src Authors config.log configure fltk_test install-sh libGVars3_headless.so LICENSE Makefile.in build config.status configure.ac GVars2.h.historic libGVars3.a libGVars3_headless.so.0 main.cc README.md jiapei:gvars$ gedit Makefile & [1] 9682

edrosten commented 7 years ago

On 6 October 2016 at 06:22, JIA Pei notifications@github.com wrote:

The following is what I obtained... It looks like the FLTK code is also built? At least, it seems _GUIFltk.cc has been built ???

Any further suggestions?

It looks like there's a very minor bug in the configure script where it prints the list of options incorrectly. It should work just fine.

-Ed


Checking for widget libraries (provides GUI_...)

checking for fltk2-config... no checking FL/Fl.H usability... yes checking FL/Fl.H presence... yes checking for FL/Fl.H... yes checking for main in -lfltk... yes Options: toon readline gui

Missing options:

GUI support: fltk

configure: creating ./config.status config.status: creating Makefile config.status: creating gvars3/config.h config.status: gvars3/config.h is unchanged jiapei:gvars$ make g++ -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -std=c++14 -Wall -Wextra -pthread -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -c -o src/gvars3.o src/gvars3.cc In file included from ./gvars3/gvars3.h:33:0, from src/gvars3.cc:22: ./gvars3/default.h:98:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr val; ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/gvars3.h:33, from src/gvars3.cc:22: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ In file included from ./gvars3/gvars3.h:33:0, from src/gvars3.cc:22: ./gvars3/default.h: In member function ‘void GVars3::ValueHolder::set(const C&)’: ./gvars3/default.h:123:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] val = std::auto_ptr(new C(c)); ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/gvars3.h:33, from src/gvars3.cc:22: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ g++ -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -std=c++14 -Wall -Wextra -pthread -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -c -o src/GUI.o src/GUI.cc In file included from ./gvars3/gvars3.h:33:0, from ./gvars3/GUI.h:25, from src/GUI.cc:22: ./gvars3/default.h:98:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr val; ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/gvars3.h:33, from ./gvars3/GUI.h:25, from src/GUI.cc:22: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ In file included from ./gvars3/gvars3.h:33:0, from ./gvars3/GUI.h:25, from src/GUI.cc:22: ./gvars3/default.h: In member function ‘void GVars3::ValueHolder::set(const C&)’: ./gvars3/default.h:123:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] val = std::auto_ptr(new C(c)); ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/gvars3.h:33, from ./gvars3/GUI.h:25, from src/GUI.cc:22: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ g++ -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -std=c++14 -Wall -Wextra -pthread -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -c -o src/GStringUtil.o src/GStringUtil.cc In file included from ./gvars3/serialize.h:25:0, from ./gvars3/GStringUtil.h:28, from src/GStringUtil.cc:22: ./gvars3/default.h:98:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr val; ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/serialize.h:25, from ./gvars3/GStringUtil.h:28, from src/GStringUtil.cc:22: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ In file included from ./gvars3/serialize.h:25:0, from ./gvars3/GStringUtil.h:28, from src/GStringUtil.cc:22: ./gvars3/default.h: In member function ‘void GVars3::ValueHolder::set(const C&)’: ./gvars3/default.h:123:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] val = std::auto_ptr(new C(c)); ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/serialize.h:25, from ./gvars3/GStringUtil.h:28, from src/GStringUtil.cc:22: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ g++ -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -std=c++14 -Wall -Wextra -pthread -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -c -o src/gvars2.o src/gvars2.cc In file included from ./gvars3/gvars3.h:33:0, from src/gvars2.cc:22: ./gvars3/default.h:98:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr val; ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/gvars3.h:33, from src/gvars2.cc:22: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ In file included from ./gvars3/gvars3.h:33:0, from src/gvars2.cc:22: ./gvars3/default.h: In member function ‘void GVars3::ValueHolder::set(const C&)’: ./gvars3/default.h:123:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] val = std::auto_ptr(new C(c)); ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/gvars3.h:33, from src/gvars2.cc:22: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ g++ -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -std=c++14 -Wall -Wextra -pthread -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -c -o src/serialize.o src/serialize.cc In file included from ./gvars3/serialize.h:25:0, from src/serialize.cc:22: ./gvars3/default.h:98:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr val; ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/serialize.h:25, from src/serialize.cc:22: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ In file included from ./gvars3/serialize.h:25:0, from src/serialize.cc:22: ./gvars3/default.h: In member function ‘void GVars3::ValueHolder::set(const C&)’: ./gvars3/default.h:123:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] val = std::auto_ptr(new C(c)); ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/serialize.h:25, from src/serialize.cc:22: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ g++ -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -std=c++14 -Wall -Wextra -pthread -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -c -o src/GUI_Fltk.o src/GUI_Fltk.cc In file included from ./gvars3/gvars3.h:33:0, from ./gvars3/GUI.h:25, from ./gvars3/instances.h:22, from src/GUI_Fltk.cc:22: ./gvars3/default.h:98:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr val; ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/gvars3.h:33, from ./gvars3/GUI.h:25, from ./gvars3/instances.h:22, from src/GUI_Fltk.cc:22: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ In file included from ./gvars3/gvars3.h:33:0, from ./gvars3/GUI.h:25, from ./gvars3/instances.h:22, from src/GUI_Fltk.cc:22: ./gvars3/default.h: In member function ‘void GVars3::ValueHolder::set(const C&)’: ./gvars3/default.h:123:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] val = std::auto_ptr(new C(c)); ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/gvars3.h:33, from ./gvars3/GUI.h:25, from ./gvars3/instances.h:22, from src/GUI_Fltk.cc:22: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ src/GUI_Fltk.cc: In static member function ‘static void* GVars3::GUI_Fltk::do_stuff_CB(void

_)’: src/GUI_Fltk.cc:71:12: warning: unused variable ‘t’ [-Wunused-variable] GUIFltk t = (GUI_Fltk

_)v; ^ src/GUI_Fltk.cc: At global scope: src/GUI_Fltk.cc:92:51: warning: unused parameter ‘sCommand’ [-Wunused-parameter] void GUIFltk::InitXInterfaceCB(void ptr, string sCommand, string sParams) ^ src/GUI_Fltk.cc:156:46: warning: unused parameter ‘sCommand’ [-Wunused-parameter] void GUI_Fltk::AddWindowCB(void* ptr, string sCommand, string sParams) ^ src/GUI_Fltk.cc:275:62: warning: unused parameter ‘args’ [-Wunused-parameter] void GUI_Fltk::DestroyWindowCB(void* ptr, string cmd, string args) ^ src/GUI_Fltk.cc: In constructor ‘GVars3::cmd_button::cmd_button(std::cxx11::string, std::cxx11::string)’: src/GUI_Fltk.cc:330:15: warning: ‘GVars3::cmd_button::labl’ will be initialized after [-Wreorder] string cmd, labl; ^ src/GUI_Fltk.cc:330:10: warning: ‘std::cxx11::string GVars3::cmd_button::cmd’ [-Wreorder] string cmd, labl; ^ src/GUI_Fltk.cc:321:3: warning: when initialized here [-Wreorder] cmd_button(string name, string command) ^ src/GUI_Fltk.cc: In constructor ‘GVars3::toggle_button:: toggle_button(std::cxx11::string, std::cxx11::string, std::cxx11::string)’: src/GUI_Fltk.cc:399:10: warning: ‘GVars3::toggle_button::labl’ will be initialized after [-Wreorder] string labl; ^ src/GUI_Fltk.cc:398:14: warning: ‘GVars3::gvar3 GVars3::toggle_button::my_int’ [-Wreorder] gvar3 my_int; ^ src/GUI_Fltk.cc:381:3: warning: when initialized here [-Wreorder] toggle_button(string name, string gvar, string def) ^ g++ -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -std=c++14 -Wall -Wextra -pthread -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -c -o src/GUI_non_readline.o src/GUI_non_readline.cc In file included from ./gvars3/gvars3.h:33:0, from ./gvars3/GUI.h:25, from ./gvars3/instances.h:22, from src/GUI_non_readline.cc:22: ./gvars3/default.h:98:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr val; ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/gvars3.h:33, from ./gvars3/GUI.h:25, from ./gvars3/instances.h:22, from src/GUI_non_readline.cc:22: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ In file included from ./gvars3/gvars3.h:33:0, from ./gvars3/GUI.h:25, from ./gvars3/instances.h:22, from src/GUI_non_readline.cc:22: ./gvars3/default.h: In member function ‘void GVars3::ValueHolder::set(const C&)’: ./gvars3/default.h:123:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] val = std::auto_ptr(new C(c)); ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/gvars3.h:33, from ./gvars3/GUI.h:25, from ./gvars3/instances.h:22, from src/GUI_non_readline.cc:22: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ g++ -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -std=c++14 -Wall -Wextra -pthread -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -c -o src/inst.o src/inst.cc In file included from ./gvars3/gvars3.h:33:0, from ./gvars3/GUI.h:25, from ./gvars3/instances.h:22, from src/inst.cc:22: ./gvars3/default.h:98:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr val; ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/gvars3.h:33, from ./gvars3/GUI.h:25, from ./gvars3/instances.h:22, from src/inst.cc:22: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ In file included from ./gvars3/gvars3.h:33:0, from ./gvars3/GUI.h:25, from ./gvars3/instances.h:22, from src/inst.cc:22: ./gvars3/default.h: In member function ‘void GVars3::ValueHolder::set(const C&)’: ./gvars3/default.h:123:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] val = std::auto_ptr(new C(c)); ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/gvars3.h:33, from ./gvars3/GUI.h:25, from ./gvars3/instances.h:22, from src/inst.cc:22: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ g++ -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -std=c++14 -Wall -Wextra -pthread -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -c -o src/GUI_no_language.o src/GUI_no_language.cc src/GUI_no_language.cc:34:33: warning: unused parameter ‘l’ [-Wunused-parameter] void remove_lang(GUI_language* l) ^ g++ -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -std=c++14 -Wall -Wextra -pthread -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -c -o src/GUI_readline.o src/GUI_readline.cc In file included from ./gvars3/gvars3.h:33:0, from ./gvars3/GUI.h:25, from ./gvars3/instances.h:22, from src/GUI_readline.cc:22: ./gvars3/default.h:98:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr val; ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/gvars3.h:33, from ./gvars3/GUI.h:25, from ./gvars3/instances.h:22, from src/GUI_readline.cc:22: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ In file included from ./gvars3/gvars3.h:33:0, from ./gvars3/GUI.h:25, from ./gvars3/instances.h:22, from src/GUI_readline.cc:22: ./gvars3/default.h: In member function ‘void GVars3::ValueHolder::set(const C&)’: ./gvars3/default.h:123:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] val = std::auto_ptr(new C(c)); ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/gvars3.h:33, from ./gvars3/GUI.h:25, from ./gvars3/instances.h:22, from src/GUI_readline.cc:22: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ g++ -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -std=c++14 -Wall -Wextra -pthread -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -c -o src/GUI_impl_readline.o src/GUI_impl_readline.cc In file included from ./gvars3/gvars3.h:33:0, from ./gvars3/GUI.h:25, from src/GUI_impl_readline.cc:1: ./gvars3/default.h:98:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr val; ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/gvars3.h:33, from ./gvars3/GUI.h:25, from src/GUI_impl_readline.cc:1: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ In file included from ./gvars3/gvars3.h:33:0, from ./gvars3/GUI.h:25, from src/GUI_impl_readline.cc:1: ./gvars3/default.h: In member function ‘void GVars3::ValueHolder::set(const C&)’: ./gvars3/default.h:123:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] val = std::auto_ptr(new C(c)); ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/gvars3.h:33, from ./gvars3/GUI.h:25, from src/GUI_impl_readline.cc:1: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ ar crvs libGVars3.a src/gvars3.o src/GUI.o src/GStringUtil.o src/gvars2.o src/serialize.o src/GUI_Fltk.o src/GUI_non_readline.o src/inst.o src/GUI_no_language.o src/GUI_readline.o src/GUI_impl_readline.o a - src/gvars3.o a - src/GUI.o a - src/GStringUtil.o a - src/gvars2.o a - src/serialize.o a - src/GUI_Fltk.o a - src/GUI_non_readline.o a - src/inst.o a - src/GUI_no_language.o a - src/GUI_readline.o a - src/GUI_impl_readline.o g++ -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -std=c++14 -Wall -Wextra -pthread -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -c -o src/GUI_none.o src/GUI_none.cc In file included from ./gvars3/gvars3.h:33:0, from ./gvars3/GUI.h:25, from ./gvars3/instances.h:22, from src/GUI_none.cc:22: ./gvars3/default.h:98:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr val; ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/gvars3.h:33, from ./gvars3/GUI.h:25, from ./gvars3/instances.h:22, from src/GUI_none.cc:22: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ In file included from ./gvars3/gvars3.h:33:0, from ./gvars3/GUI.h:25, from ./gvars3/instances.h:22, from src/GUI_none.cc:22: ./gvars3/default.h: In member function ‘void GVars3::ValueHolder::set(const C&)’: ./gvars3/default.h:123:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] val = std::auto_ptr(new C(c)); ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/gvars3.h:33, from ./gvars3/GUI.h:25, from ./gvars3/instances.h:22, from src/GUI_none.cc:22: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ g++ -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -std=c++14 -Wall -Wextra -pthread -I. -INONE/include -DGUI_HAVE_READLINE -fPIC -c -o src/GUI_impl_headless.o src/GUI_impl_headless.cc In file included from ./gvars3/gvars3.h:33:0, from ./gvars3/GUI.h:25, from src/GUI_impl_headless.cc:1: ./gvars3/default.h:98:7: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] std::auto_ptr val; ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/gvars3.h:33, from ./gvars3/GUI.h:25, from src/GUI_impl_headless.cc:1: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ In file included from ./gvars3/gvars3.h:33:0, from ./gvars3/GUI.h:25, from src/GUI_impl_headless.cc:1: ./gvars3/default.h: In member function ‘void GVars3::ValueHolder::set(const C&)’: ./gvars3/default.h:123:14: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] val = std::auto_ptr(new C(c)); ^ In file included from /usr/include/c++/5/memory:81:0, from ./gvars3/default.h:26, from ./gvars3/gvars3.h:33, from ./gvars3/GUI.h:25, from src/GUI_impl_headless.cc:1: /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^ ar crvs libGVars3_headless.a src/gvars3.o src/GUI.o src/GStringUtil.o src/gvars2.o src/serialize.o src/GUI_none.o src/GUI_impl_headless.o src/inst.o src/GUI_no_language.o a - src/gvars3.o a - src/GUI.o a - src/GStringUtil.o a - src/gvars2.o a - src/serialize.o a - src/GUI_none.o a - src/GUI_impl_headless.o a - src/inst.o a - src/GUI_no_language.o rm -f libGVars3_headless.so libGVars3_headless.so.0 libGVars3_headless.so.0.6 g++ -shared -o libGVars3_headless.so.0.6 src/gvars3.o src/GUI.o src/GStringUtil.o src/gvars2.o src/serialize.o src/GUI_none.o src/GUI_impl_headless.o src/inst.o src/GUI_no_language.o -lm ln -s libGVars3_headless.so.0.6 libGVars3_headless.so.0 ln -s libGVars3_headless.so.0 libGVars3_headless.so jiapei:gvars$ ls 01_configurehelp.txt config.guess config.sub fltk2_test gvars3 libGVars3_headless.a libGVars3_headless.so.0.6 Makefile src Authors config.log configure fltk_test install-sh libGVars3_headless.so LICENSE Makefile.in build config.status configure.ac GVars2.h.historic libGVars3.a libGVars3_headless.so.0 main.cc README.md jiapei:gvars$ gedit Makefile & [1] 9682

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/edrosten/gvars/issues/7#issuecomment-251869708, or mute the thread https://github.com/notifications/unsubscribe-auth/ABGW6zs7HQOGiPYgrcJR9HuCLHbPzo52ks5qxIWLgaJpZM4KNEHs .