[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compile error on oct-env.cc in building octave-3.3.52+ on MinGW32
From: |
Tatsuro MATSUOKA |
Subject: |
Re: compile error on oct-env.cc in building octave-3.3.52+ on MinGW32 |
Date: |
Sat, 2 Oct 2010 15:39:20 +0900 (JST) |
Hello John
Following your suggestion,
> > | # define waitpid(pid,statusp,options) _cwait (statusp, pid, WAIT_CHILD)
> >
> > We need to discuss this with the gnulib maintainers. For C++, it
> > would be helpful if this were a function instead of a macro.
I have posted the issue to gnulib ML. The gnulib team kindly consider the
modification
http://old.nabble.com/definition-of-waitpid-in-sys_wait.in.h-for-C%2B%2B-on-windows-td29835577.html
The compile issue from the definition of waitpid for the windows is solved.
Thanks!!
BTW, the other error from gnulib::gethostname is
treated by the similar way that for 'unlink'.
http://octave.1599824.n4.nabble.com/Error-unlink-is-not-a-member-of-gnulib-on-the-recent-check-out-of-development-branch-was-Re-MinGW-co-td2252605.html#a2252632
The function 'gnulib::gethostname' was replaced by 'gethostname'.
I do not think that this is correct way but did it to go forward.
I have met different problem. I will report it in another post.
Regards
Tatsuro
--- Tatsuro MATSUOKA wrote:
> Hello
>
> --- "John W. Eaton" wrote:
>
> > On 23-Sep-2010, Tatsuro MATSUOKA wrote:
> >
> > | In sys/wait.h in the directory 'libgnu' in the build tree, I found
> > |
> > | ...
> > |
> > | # define waitpid(pid,statusp,options) _cwait (statusp, pid, WAIT_CHILD)
> >
> > We need to discuss this with the gnulib maintainers. For C++, it
> > would be helpful if this were a function instead of a macro.
>
> Just the above the below
>
> > | # define waitpid(pid,statusp,options) _cwait (statusp, pid, WAIT_CHILD)
>
> Should I ask the gnulib ML by myself?
>
> Honestly speaking, I cannot find what should I do
> In oct-syscall.h, I found,
> static pid_t waitpid (pid_t, int *status, int);
> static pid_t waitpid (pid_t, int *status, int, std::string&);
>
> How should I modify sys_wait.in.h considering C++ calling?
>
> Sorry for my ignorance and give suggestions.
>
> Regards
>
> Tatsuro
>
>
> --------------------------------------
> Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
> http://pr.mail.yahoo.co.jp/ie8/
>
--------------------------------------
Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
http://pr.mail.yahoo.co.jp/ie8/
- Re: compile error on oct-env.cc in building octave-3.3.52+ on MinGW32,
Tatsuro MATSUOKA <=