[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hpux-cxx-dev
Subject:    Re:  CXX-DEV: Local class scope conflict in HPUX
From:       Dennis Handly <dhandly () cup ! hp ! com>
Date:       2008-04-22 0:35:13
Message-ID: 200804220035.RAA25649 () hpcll183 ! cup ! hp ! com
[Download RAW message or body]

>From: Amar Deep Sharma <AmarD_Sharma@infosys.com>
>Following sample program returns error on compilation on HPUX whereas it
>is successfully built on Linux Compilation error is:

That's because your linux compiler meet the next C++ Standard.
This is illegal under the original C++ Standard.

>From: "S, Mahesha (STSD)" <mahesha.s@hp.com>
>It is a bug in the compiler.

Not really.  aC++ on PA only follows the original C++ Standard where this
was explicitly illegal.

 _________________________________________________________________
 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