This is the mail archive of the cygwin@sourceware.cygnus.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]

No Subject


I am a newby when it comes to implementing templates and I am having a
problem
with egcs in cygwin b20.  I am running NT 4.0 work station bld 1381 sp 3.
I hoped that
posting this would be helpful to the egcs developers and instructive for
me.

When I try to compile a  test program that includes my lamer fixed capacity
 string
template I get the following error from egcs:


   [main]
   C:\Cygnus\cygwin-b20\H-i586-cygwin32\lib\gcc-lib\i586-cygwin32\egcs-2.91
   .
   57\cc1plus.exe 1002 (0) handle_exceptions: Exception:
   STATUS_ACCESS_VIOLATION
   [main] cc1plus 1002 (0) handle_exceptions: Dumping stack trace to
   cc1plus.exe.co
   re

I have attached the sources and the core file.  My template, StringT,
doesn't appear to
me to do anything particularly advanced that would agitate an obscure
language feature.  Have I done anything wrong?

Jack Walker

(See attached file: str128t.h)(See attached file: junk.cpp)(See attached
file: cc1plus.exe.core)

str128t.h

junk.cpp

cc1plus.exe.core


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