delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/06/12/22:15:16

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: Cppljevans AT aol DOT com
Message-ID: <3efd7e64.24946df0@aol.com>
Date: Sat, 12 Jun 1999 22:14:08 EDT
Subject: c++filt doesn't
To: cygwin AT sourceware DOT cygnus DOT com
MIME-Version: 1.0
X-Mailer: AOL 4.0 for Windows 95 sub 10

I downloaded full-split from ftp.ninemoons.com in Arizona.  I then copied all 
parts into full.exe and ran that.  However, the c++filt program does not 
demangle the names, as demonstrated by the following make output.  What 
should I do to get c++filt to work?  TIA.
--------------------Configuration: bug_cxxfilt - Win32 
Debug--------------------
C:\evansl\GarbageCollect_lib\DetlefsRTT5\bug_cxxfilt>SET MAKE_MODE=UNIX
C:\evansl\GarbageCollect_lib\DetlefsRTT5\bug_cxxfilt>SET 
PATH=c:\CYGNUS\CYGWIN~1\H-I586~1\BIN
C:\evansl\GarbageCollect_lib\DetlefsRTT5\bug_cxxfilt>bash -c "make -f 
Makefile.mak TARGET=         "
cat ./main.cpp
//Purpose:
//  For use in demonstrating a bug in the c++filt program.
//  See Makefile.mak.
#include <iostream>
#include <typeinfo>
using namespace std; 
template<typename X>
class Y
  { X m_x;
  };
int main(void)
  { cout<<"Y<float>="<<typeid(Y<float>).name()<<endl
  ; return 0
  ;}
g++ ./main.cpp -o Debug/bad.exe
Debug/bad.exe|c++filt
Y<float>=t1Y1Zf
C:\evansl\GarbageCollect_lib\DetlefsRTT5\bug_cxxfilt>

bug_cxxfilt.exe - 0 error(s), 0 warning(s)

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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