[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
MinGW build error 'setenv' was not declared in this scope'
From: |
Philip Nienhuis |
Subject: |
MinGW build error 'setenv' was not declared in this scope' |
Date: |
Mon, 17 Sep 2012 15:14:01 -0700 (PDT) |
(MinGW, gcc 4.5.2)
../../octave/libgui/src/octave-gui.cc: In function 'int
octave_start_gui(int, char**)':
../../octave/libgui/src/octave-gui.cc:85:29: error: 'setenv' was not
declared in this scope
make[3]: *** [src/src_libgui_src_la-octave-gui.lo] Error 1
make[3]: Leaving directory `/home/Philip/octdev/oct-3.7/libgui'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/Philip/octdev/oct-3.7/libgui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Philip/octdev/oct-3.7'
make: *** [all] Error 2
FWIW, some googling turned up that MinGW (nor MSVC) doesn't have "setenv".
It seems "putenv" is advised.
Suggestions on how to get past this error?
(I found a replacement code snippet tru this thread, but of course I
wouldn't know how to properly implement it in Octave, or even if it is of
any use at all:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27892
)
Philip
--
View this message in context:
http://octave.1599824.n4.nabble.com/MinGW-build-error-setenv-was-not-declared-in-this-scope-tp4644240.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.
- MinGW build error 'setenv' was not declared in this scope',
Philip Nienhuis <=
- Re: MinGW build error 'setenv' was not declared in this scope', Michael Goffioul, 2012/09/17
- Re: MinGW build error 'setenv' was not declared in this scope', Daniel J Sebald, 2012/09/17
- Re: MinGW build error 'setenv' was not declared in this scope', Michael Goffioul, 2012/09/17
- Re: MinGW build error 'setenv' was not declared in this scope', Daniel J Sebald, 2012/09/17
- MinGW: 'QUnixTerminalImpl' has not been declared, Philip Nienhuis, 2012/09/18
- Re: MinGW: 'QUnixTerminalImpl' has not been declared, Daniel J Sebald, 2012/09/20
- Re: MinGW: 'QUnixTerminalImpl' has not been declared, Michael Goffioul, 2012/09/20
- Re: MinGW: 'QUnixTerminalImpl' has not been declared, Philip Nienhuis, 2012/09/20
- Re: MinGW: 'QUnixTerminalImpl' has not been declared, Michael Goffioul, 2012/09/20
- Re: MinGW: 'QUnixTerminalImpl' has not been declared, Philip Nienhuis, 2012/09/20