Re: eugtk history
- Posted by euphoric (admin) Aug 21, 2015
- 2284 views
petelomax said...
euphoric said...
This fix works for me, EXCEPT, I'm getting a console window popping up with this message:
FIXME Windows GtkEngine.e line 146...151
What is that?
GtkEngine.e said...
constant os_info = os:uname() localhost = "127.0.0.1", ifdef UNIX then export constant os_architecture = os_info[5], -- e.g: x86_64 os_shell = getenv("SHELL"), -- e.g: /bin/bash host_addr = inet_address() end ifdef ifdef WINDOWS then -- FIXME display("FIXME Windows GtkEngine.e line 146..151") -- *** here be that message! *** export constant os_architecture = "unknown", os_shell = "cmd.com", host_addr = localhost end ifdef object os_term = getenv("TERM") if atom(os_term) then os_term = "none" end if ifdef WINDOWS then os_term = "CMD.COM" end ifdef
Clearly a few of those values are untested on windows.
I have Euphoria code that identifies the Windows OS for another program I use. Do I need to plug it in here to fix this? Seems like that's what this needs, eh?
Thanks for the heads up, Pete!
Actually, Euphoria needs to know what OS it's running on. Doesn't it know that already?!?!