delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1996/11/19/12:50:49

From: Gautam_Singh/NCGR AT notes DOT ncgr DOT org (Gautam Singh/NCGR)
Subject: Re: Templates
19 Nov 1996 12:50:49 -0800 :
Sender: daemon AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <9611191649.AA16916.cygnus.gnu-win32@notes.ncgr.org>
Mime-Version: 1.0
Original-To: Mumit Khan <khan AT xraylith DOT wisc DOT edu>
Original-Cc: gnu-win32 <gnu-win32 AT cygnus DOT com>
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Thanks for your response on the templates issue...

I am getting the error while "compiling" the template code.  (I haven't gotten 
to the "core dump" stage yet. I will link with b14libstdc++.. thanks for that 
tip!)

As far as compiling code with templates, has anyone had any success? I am 
instantiating all my templated classes in a separate file, and compiling all 
programs the "-fno-implicit-templates" flag. The makefile works just fine on 
the linux version of gcc2.7.2. But the gcc-win32 compiler croakes on the file 
where the templates are instantiated.... 

Any help will be greatly appreciated..

Gautam S.

------------------------------------

You did replace the b16 libstdc++ with the one from b14, right? If not,
that would be the first thing to do, since b16 libstdc++ causes progs
to dump core at startup (or soon thereafter).

Mumit



-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019