Re: G++ switch to make everything public in a class?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 1 Aug 2011, Jonathan Wakely wrote:

On 1 August 2011 02:42, Ian Lance Taylor wrote:
Jeffrey Walton <noloader@xxxxxxxxx> writes:

On Sun, Jul 31, 2011 at 2:40 PM, Ian Lance Taylor <iant@xxxxxxxxxx> wrote:
Jeffrey Walton <noloader@xxxxxxxxx> writes:

Is there a switch to force everything public?

-Dprivate=public -Dprotected=public

You might also need -Dclass=struct

That one never works, because of:
template<class>class X;

(yes, it's a pain to have keywords that are almost equivalent but not quite...)

--
Marc Glisse


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux