Article delegate-en/4304 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:<_A4302@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: problem comiling HPUX 11.23
24 Dec 2008 13:57:26 GMT feedback@delegate.org (Yutaka Sato)
The DeleGate Project


In message <_A4302@delegate-en.ML_> on 12/24/08(22:13:41)
you "Bambic, David (Penske)" <pweiabdyi-y44okldnzdjr.ml@ml.delegate.org> wrote:
 |_builtin.c:6419: warning: deprecated conversion from string constant to
 |'char*'
 |_builtin.c:6419: warning: deprecated conversion from string constant to
 |'char*'
 |_builtin.c:6419: warning: deprecated conversion from string constant to
 |'char*'
 |_builtin.c:6419: warning: deprecated conversion from string constant to
 |'char*'
 |builtin.c: In function 'int main(int, char**)':
 |builtin.c:26: error: 'allow_unaligned_data_access' was not declared in this sco e

Adding the following line at the top of or after the #include "ystring.h" in
src/builtin.c might solve the problem:

extern "C" void allow_unaligned_data_access();

 |But we met another problem at run-time.  DeleGate causes bus-error and
 |die when it get signal like timeout-alerm.  So I added modifications as
 |described in <URL:http://docs.hp.com/en/B0000-0000X/ch05s04.html>

The page does not mention about it, but in another page of HP
<URL:http://docs.hp.com/en/10946/pragmas.htm>
the declaration of the function appears as shown above.

Cheers,
Yutaka
--
  9 9   Yutaka Sato <y.sato@delegate.org> http://delegate.org/y.sato/
 ( ~ )  National Institute of Advanced Industrial Science and Technology
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V