delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
From: | Hans-Juergen Taenzer <Hans-Juergen DOT Taenzer AT t-online DOT de> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: argc/argv are not set up when compiling for profiling |
Date: | Mon, 03 Nov 2008 18:25:00 +0100 |
Organization: | T-Online |
Lines: | 27 |
Message-ID: | <Ap81O-WWb3B@hans-juergen.taenzer.dialin.t-online.de> |
References: | <Ap7xN2elb3B AT hans-juergen DOT taenzer DOT dialin DOT t-online DOT de> <6n6hhsFjusulU1 AT mid DOT individual DOT net> |
Mime-Version: | 1.0 |
X-Trace: | news.t-online.com 1225733286 02 n26940 FPepl2ArBTek+Mv 081103 17:28:06 |
X-Complaints-To: | usenet-abuse AT t-online DOT de |
X-ID: | JT1lRuZGoe5N2aEhVUF4zNF5ll7CaqlRSvXzu6j6RbnXSg0r1SakoY |
User-Agent: | TrueXP (CrossPoint)/3.40-RC3 (R/C9933; 0110062100) |
X-RFC-Converter: | E-UUZ/II [FreeXP v3.40.3 RC4] @ 200602101616 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id mA3HU4B7021400 |
Reply-To: | djgpp AT delorie DOT com |
Robert Riebisch wrote: > Hans-Juergen Taenzer wrote: >> gpp -g -pg tgp.cpp > Btw: AFAIK this is a plain C code. No C++ here. I know. ;) >> D:\MSC\ENTW\XPZCRead\DJPPP\tgp>.\a.out 1 2 3 >> argc: 0 > I can confirm this for DJGPP 2.04 + GCC 4.1.2 or 4.3.2. > It does NOT happen with GCC 3.4.4! With version 4.0.1 argc has the korrekt value. argv[i] has not. > In 2006 there was a similar thread: > http://newsgroups.derkeiler.com/Archive/Comp/comp.os.msdos.djgpp/20 > 06-12/msg00041.html Thank you. I found this thread in my messagebase. Two years are a long time for such a bug... Hans-Jürgen
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |