[prev in list] [next in list] [prev in thread] [next in thread]
List: hpux-cxx-dev
Subject: Re: CXX-DEV: Procedure labels require the P' selector
From: "Michael S. Tsirkin" <mtsirkin () iil ! intel ! com>
Date: 2000-05-31 15:08:23
[Download RAW message or body]
Hello!
I am subscribed to the list , so there is no need to send me a
separate copy of the message ...
Actually, there seem to be three :)
static void __STL_dummy_literal() { const char *p = "x";}
static void __STL_dummy_literal_2() { const char *p = "123456789"; }
static void __STL_dummy_literal_3() { const char *p = "123456700000000000000089";}
Now it seems to do the trick.
thanks!
MST
Quoting r. Dennis Handly (dhandly@hpcllmx.cup.hp.com) "Re: CXX-DEV: Procedure labels \
require the P' selector":
> > //Special error to work around bug in aCC 1.23
>
> You need to change it to:
> //Special kludge to workaround bug in aCC A.01.23, CR JAGac40634
>
> (Otherwise the compiler doesn't know what bug you are trying to fool it. :-)
>
> > static void __STL_dummy_literal() { const char *p = "x"; }
>
> > I still get the same error.
>
> > Regarding +ESlit: we have to use it to work around another bug in
> > compiler.
>
> I suspected that. :-(
>
> > Do you have any other ideas?
> Michael S. Tsirkin
>
> I forgot there are two pools, one for longer strings:
>
> static void __STL_dummy_literal_2() { const char *p = "123456789"; }
> _________________________________________________________________
> To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
> with the message UNSUBSCRIBE cxx-dev
> _________________________________________________________________
--
This message content is not part of Intel's views or affairs
Michael S. Tsirkin
> Four things are to be strengthened: Torah,and good deeds,
> prayer and one's good manners (Berachoth)
_________________________________________________________________
To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
with the message UNSUBSCRIBE cxx-dev
_________________________________________________________________
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic