This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[harsha@vishvakannada.com: constructor calling order]


On this day in history...

cgf

----- Forwarded message from harsha@vishvakannada.com -----

From: <harsha@vishvakannada.com>
To: <gcc@gcc.gnu.org>
Subject: constructor calling order
Date: Wed, 16 Jan 2002 20:12:37 -0800
Reply-To: <harsha@vishvakannada.com>

I have a problem with my program compiled using gcc in linux.  In
windows same code works fine.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

I have two cpp files having to global objects of two different classes

I want to know which constructor is get called first ?  how can I change
the order ?

----- End forwarded message -----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]