dev-cpp-users Mailing List for Dev-C++ (Page 525)
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(15) |
Oct
(115) |
Nov
(154) |
Dec
(258) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(377) |
Feb
(260) |
Mar
(249) |
Apr
(188) |
May
(152) |
Jun
(150) |
Jul
(195) |
Aug
(202) |
Sep
(200) |
Oct
(286) |
Nov
(242) |
Dec
(165) |
| 2002 |
Jan
(245) |
Feb
(241) |
Mar
(239) |
Apr
(346) |
May
(406) |
Jun
(369) |
Jul
(418) |
Aug
(357) |
Sep
(362) |
Oct
(597) |
Nov
(455) |
Dec
(344) |
| 2003 |
Jan
(446) |
Feb
(397) |
Mar
(515) |
Apr
(524) |
May
(377) |
Jun
(387) |
Jul
(532) |
Aug
(364) |
Sep
(294) |
Oct
(352) |
Nov
(295) |
Dec
(327) |
| 2004 |
Jan
(416) |
Feb
(318) |
Mar
(324) |
Apr
(249) |
May
(259) |
Jun
(218) |
Jul
(212) |
Aug
(259) |
Sep
(158) |
Oct
(162) |
Nov
(214) |
Dec
(169) |
| 2005 |
Jan
(111) |
Feb
(165) |
Mar
(199) |
Apr
(147) |
May
(131) |
Jun
(163) |
Jul
(235) |
Aug
(136) |
Sep
(84) |
Oct
(88) |
Nov
(113) |
Dec
(100) |
| 2006 |
Jan
(85) |
Feb
(119) |
Mar
(33) |
Apr
(31) |
May
(56) |
Jun
(68) |
Jul
(18) |
Aug
(62) |
Sep
(33) |
Oct
(55) |
Nov
(19) |
Dec
(40) |
| 2007 |
Jan
(22) |
Feb
(49) |
Mar
(34) |
Apr
(51) |
May
(66) |
Jun
(43) |
Jul
(116) |
Aug
(57) |
Sep
(70) |
Oct
(69) |
Nov
(97) |
Dec
(86) |
| 2008 |
Jan
(32) |
Feb
(47) |
Mar
(106) |
Apr
(67) |
May
(28) |
Jun
(39) |
Jul
(31) |
Aug
(25) |
Sep
(18) |
Oct
(25) |
Nov
(5) |
Dec
(21) |
| 2009 |
Jan
(33) |
Feb
(27) |
Mar
(27) |
Apr
(22) |
May
(22) |
Jun
(10) |
Jul
(17) |
Aug
(9) |
Sep
(21) |
Oct
(13) |
Nov
(4) |
Dec
(11) |
| 2010 |
Jan
(10) |
Feb
(8) |
Mar
(4) |
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(8) |
Oct
(26) |
Nov
(9) |
Dec
(1) |
| 2011 |
Jan
(21) |
Feb
(16) |
Mar
(4) |
Apr
(19) |
May
(26) |
Jun
(9) |
Jul
(6) |
Aug
|
Sep
(4) |
Oct
(3) |
Nov
(2) |
Dec
(1) |
| 2012 |
Jan
(4) |
Feb
(7) |
Mar
(4) |
Apr
|
May
(1) |
Jun
(10) |
Jul
(1) |
Aug
(1) |
Sep
(18) |
Oct
(3) |
Nov
(1) |
Dec
(1) |
| 2013 |
Jan
(4) |
Feb
(2) |
Mar
(15) |
Apr
(6) |
May
(1) |
Jun
(3) |
Jul
(1) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
(9) |
Dec
|
| 2014 |
Jan
(4) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(5) |
Aug
(4) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
(4) |
| 2015 |
Jan
(2) |
Feb
(3) |
Mar
(1) |
Apr
(2) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(2) |
Oct
(9) |
Nov
(35) |
Dec
(6) |
| 2016 |
Jan
(7) |
Feb
(10) |
Mar
(10) |
Apr
(9) |
May
(13) |
Jun
(9) |
Jul
(1) |
Aug
(3) |
Sep
(3) |
Oct
(1) |
Nov
(1) |
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
(1) |
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Eric R. <e.r...@pa...> - 2002-09-17 11:53:06
|
I have tried this option a few times since this reply, nothing happens after awhile then I have to do a "Alt-Ctrl-Delete" and it has "update, ver xxxxx (not responding)" If only the LED's on my external modem would wink at me, I would feel happy, But the lights are off and nobody coming home. From Eric NO ATTACHMENT WAS SENT WITH THIS EMAIL, IF THERE IS ONE, IT IS A UNDETECTED VIRUS, PLEASE LET ME KNOW.. -----Original Message----- From: dev...@li... [mailto:dev...@li...]On Behalf Of PhrostByte Sent: Tuesday, September 17, 2002 4:38 AM To: 'Eric Richards'; 'Dev-C++ -Users-List' Subject: RE: [Dev-C++] The help files Go to tools->check for updates - follow all the popups, and get the critical update+language files, along with the help file. -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Eric Richards Sent: Sunday, September 15, 2002 4:34 PM To: Dev-C++ -Users-List Subject: [Dev-C++] The help files Hi I have just found Dev-C++, are there any help files around for it From Eric NO ATTACHMENT WAS SENT WITH THIS EMAIL, IF THERE IS ONE, IT IS A UNDETECTED VIRUS, PLEASE LET ME KNOW.. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dev-cpp-users mailing list Dev...@li... TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm https://lists.sourceforge.net/lists/listinfo/dev-cpp-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dev-cpp-users mailing list Dev...@li... TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm https://lists.sourceforge.net/lists/listinfo/dev-cpp-users --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.389 / Virus Database: 220 - Release Date: 9/16/02 |
|
From: Carlos d. M. <cg...@wo...> - 2002-09-17 11:30:44
|
#include <iostream.h> |
|
From: Christophe C. <chr...@fr...> - 2002-09-17 07:39:47
|
Hi all, do you know if there's a mean to use the Dev-C++ update tool (vupdate) through a proxy ? I'm behind a firewall and I can't find a way to use this tool... If this isn't possible right now, I may add it to feature requests (even if this isn't really a part of Dev-C++), because I think it can be of interest for many people. Thanks for your help. Christophe CHAILLOLEAU LECLERC |
|
From: Per W. <pw...@ia...> - 2002-09-17 06:33:53
|
Forget any mention of a gets() function. It should N.E.V.E.R. be used because of buffer overflow problems. /Per W On Mon, 16 Sep 2002, PhrostByte wrote: > Maybe your looking for gets() and fgets()? > > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf Of The > Tone'ster > Sent: Monday, September 16, 2002 11:14 AM > To: list dev-cpp-users > Subject: [Dev-C++] unresolved external/linker error > > > > hi, > > i'm _sure_ this is a noob question. > > I am a Java programmer by trade, haven't done 'C' in years. > > I am trying to develop some code for a personal project. > > I started a 'C' console project. > > using the GNU manual : > > http://www.gnu.org/manual/glibc-2.2.3/html_node/libc_175.html#SEC184 > > I am trying to use the 'getline' function. > > i'm getting an 'undefined reference' error from the Linker (not the > compiler). > > Do I need to tell the linker to use some lib that isn't setup by default > ? > > Does this have something to do with 'C' vs. 'C++' ? > > TIA, > Tony > > ===== > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > > ------------------------------------------------------- > Sponsored by: AMD - Your access to the experts on Hammer Technology! > Open Source & Linux Developers, register now for the AMD Developer > Symposium. Code: EX8664 http://www.developwithamd.com/developerlab > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Luigi S. <gi...@li...> - 2002-09-17 04:30:46
|
At 11.21 09/15/02 +0530, Abhijit wrote: >Greets, Luigi. > > >Searched the MingW mailing list, got this: > >------- Start ------- > Try Mumit Kahn's little redir utility. I think links to his site are in > the mingw pages link section. with redir you can either redirect to a file > or reirect to stdout and use less. > > Nicholas >------ Stop ------ > >I visited the site, and did a (very) superficial search, result: no `redir' >available. See if you can find it. Or google it, it should be archived >somewhere. I remember using it with DJGPP. > >Some other links: > >http://sourceforge.net/mailarchive/message.php?msg_id=1165980 >^ Above message >http://sourceforge.net/mailarchive/message.php?msg_id=1166366 >http://sourceforge.net/mailarchive/message.php?msg_id=1170316 > >___________________________________________________________ > >Abhijit Shylanath Thanks, I've realized that my question was a bit OT, but you were so kind to answer it anyway. I'm posting 2 possible solutions, so it will be stored in the ML archive. 1) REDIR A google search using keys: "khan redir" yielded (first result) the directory: http://programming.ccp14.ac.uk/ftp-mirror/programming/mumit-khan/pub/khan/egcs/mingw32/misc/ There I found "redir.zip". To solve my problem: redir -eo gcc -c c:\test\hello.cpp | reverse_slashes 2) ERROUT in the message http://sourceforge.net/mailarchive/message.php?msg_id=1166366 I found out about "errout", a program which may be downloaded using the link: http://www.simtel.net/pub/pd/12516.html To solve my problem: errout gcc -c c:\test\hello.cpp | reverse_slashes Finally, here is the code for "reverse_slashes" reverse_slashes --------------- /* turn slashes ('/') into backslashes ('\\') */ #include <stdio.h> int main() { int c; while ((c = getchar()) != EOF) putchar((c == '/') ? '\\' : c); return 0; } -- gisan |
|
From: PhrostByte <Phr...@so...> - 2002-09-17 03:45:06
|
Maybe your looking for gets() and fgets()? -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of The Tone'ster Sent: Monday, September 16, 2002 11:14 AM To: list dev-cpp-users Subject: [Dev-C++] unresolved external/linker error hi, i'm _sure_ this is a noob question. I am a Java programmer by trade, haven't done 'C' in years. I am trying to develop some code for a personal project. I started a 'C' console project. using the GNU manual : http://www.gnu.org/manual/glibc-2.2.3/html_node/libc_175.html#SEC184 I am trying to use the 'getline' function. i'm getting an 'undefined reference' error from the Linker (not the compiler). Do I need to tell the linker to use some lib that isn't setup by default ? Does this have something to do with 'C' vs. 'C++' ? TIA, Tony ===== ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dev-cpp-users mailing list Dev...@li... TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: <Ech...@ne...> - 2002-09-16 22:17:44
|
I have created a DevCpp Package for LibSigC++ which can be found at http://echempel.freezope.org/projects-fall2002/SigCpp-DevPak/libsigcpp-1.1.DevPak This is the first DevPak I have made, any feedback (does it work?) would be helpful. Thanks, Evan __________________________________________________________________ The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ |
|
From: The Tone's. <to...@ds...> - 2002-09-16 18:13:42
|
hi, i'm _sure_ this is a noob question. I am a Java programmer by trade, haven't done 'C' in years. I am trying to develop some code for a personal project. I started a 'C' console project. using the GNU manual : http://www.gnu.org/manual/glibc-2.2.3/html_node/libc_175.html#SEC184 I am trying to use the 'getline' function. i'm getting an 'undefined reference' error from the Linker (not the compiler). Do I need to tell the linker to use some lib that isn't setup by default ? Does this have something to do with 'C' vs. 'C++' ? TIA, Tony ===== |
|
From: Abhijit S. <mu...@gm...> - 2002-09-16 17:17:54
|
Greets, Christian.
> Hi list,
>
>
> how can I write a struct into a file (e.g WriteFile()) and read it ???
> I don't know the size of the struct during reading, how can I realize
that.
For one, you could include a member at the beginning of the struct that
specifies the structure's size.
struct foo
{
unsigned foo_size;
unsigned bar;
char baz;
float strawberry;
};
and read and write it at the beginning of the structure. Also note that many
compilers pad the structures so that members are aligned on dword
boundaries. So sizeof(foo) in the above case need not be 4 + 4 + 1 + 4. It's
better to use a C++ class and have methods that manage the loading and
saving.
Another, more elegant, method would be to use text files for managing
persistance, in the format of the windows .INI files or using the registry
or whatever and load the entries by name. This isn't suitable for
high-performance applications, obviously.
___________________________________________________________
Abhijit Shylanath
E-mail: mu...@gm... || ibr...@bi...
Web-site: http://mudeth.tripod.com/
|
|
From: Rui F. <rui...@po...> - 2002-09-16 16:46:22
|
Hi everyone!
Does anyone managed to use Directx 8 with Dev-C++???
I've managed to use the libs that can be reached from the Dev-C++ site, =
but I'm having some problems.
I get error in "dmdls.h", in follow struct:
--------------
typedef struct _DMUS_REGION
{
RGNRANGE RangeKey;
RGNRANGE RangeVelocity;
USHORT fusOptions;
USHORT usKeyGroup;
ULONG ulRegionArtIdx; /* If zero the region does =
not have an articulation */
ULONG ulNextRegionIdx; /* If zero no more regions =
*/
ULONG ulFirstExtCkIdx; /* If zero no 3rd party =
entenstion chunks associated with the region */
WAVELINK WaveLink;
WSMPL WSMP; /* If WSMP.cSampleLoops > 1 =
then a WLOOP is included */
WLOOP WLOOP[1];
} DMUS_REGION;
-----------
The error occurs because in the last line "WLOOP WLOOP[1];" the struct =
member can't have the same name as his type.
I've checked the the original files from the DX8 SDK, it alse has that =
problem.
The other problem...
In "dmusici.h", I get errors everywhere VARIANT is present. I've checked =
Microsoft Documentation, and I can't find the header file with that =
declares that type.
Anyone can help me?
Rui Figueira, Portugal
rui...@di...
or
rui...@ho...
http://www.figueira.vze.com
|
|
From: PhrostByte <Phr...@so...> - 2002-09-16 16:38:02
|
Go to tools->check for updates - follow all the popups, and get the critical update+language files, along with the help file. -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Eric Richards Sent: Sunday, September 15, 2002 4:34 PM To: Dev-C++ -Users-List Subject: [Dev-C++] The help files Hi I have just found Dev-C++, are there any help files around for it From Eric NO ATTACHMENT WAS SENT WITH THIS EMAIL, IF THERE IS ONE, IT IS A UNDETECTED VIRUS, PLEASE LET ME KNOW.. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dev-cpp-users mailing list Dev...@li... TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Christian W. <Chr...@vo...> - 2002-09-16 12:59:33
|
Hi list,
how can I write a struct into a file (e.g WriteFile()) and read it ???
I don't know the size of the struct during reading, how can I realize that.
The struct:
#typedef struct _Foo bar
struct
{
param bla
bla bla
} pBlah1
struct
{
param bla
bla bla
} pBlah2
struct _Foo
{
param blah
union
{
pBlah1 bla1
pBlah2 bla2
} parameter;
};
Kind r
Christian
|
|
From: gfu <gf...@pu...> - 2002-09-16 08:09:59
|
I use the "New project" to creat a GTK+ project,and then compile and run it success!but the line is not executed when step by debug: gtk_init (&_argc, &_argv);why?
#include <stdlib.h>
#include <gtk/gtk.h>
#include <windows.h>
GtkWidget *win;
GtkWidget *vbox;
static void
HelloWorld ()
{
GtkWidget *dialog;
dialog = gtk_message_dialog_new (GTK_WINDOW (win),
GTK_DIALOG_MODAL, GTK_MESSAGE_INFO, GTK_BUTTONS_CLOSE,
"Hello World!");
gtk_window_set_position (GTK_WINDOW (dialog), GTK_WIN_POS_CENTER);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
}
int WINAPI
WinMain (HINSTANCE hThisInstance,
HINSTANCE hPrevInstance,
LPSTR lpszArgument,
int nFunsterStil)
{
GtkWidget *button;
/* Initialize GTK+ */
g_log_set_handler ("Gtk", G_LOG_LEVEL_WARNING,
(GLogFunc) gtk_false, NULL);
gtk_init (&_argc, &_argv);
g_log_set_handler ("Gtk", G_LOG_LEVEL_WARNING,
g_log_default_handler, NULL);
/* Create the main window */
win = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_container_set_border_width (GTK_CONTAINER (win), 8);
gtk_window_set_title (GTK_WINDOW (win), "Hello World");
gtk_window_set_position (GTK_WINDOW (win), GTK_WIN_POS_CENTER);
gtk_widget_realize (win);
g_signal_connect (win, "destroy", gtk_main_quit, NULL);
/* Create a vertical box with buttons */
vbox = gtk_vbox_new (TRUE, 6);
gtk_container_add (GTK_CONTAINER (win), vbox);
button = gtk_button_new_from_stock (GTK_STOCK_DIALOG_INFO);
g_signal_connect (button, "clicked", HelloWorld, NULL);
gtk_box_pack_start (GTK_BOX (vbox), button, TRUE, TRUE, 0);
button = gtk_button_new_from_stock (GTK_STOCK_CLOSE);
g_signal_connect (button, "clicked", gtk_main_quit, NULL);
gtk_box_pack_start (GTK_BOX (vbox), button, TRUE, TRUE, 0);
/* Enter the main loop */
gtk_widget_show_all (win);
gtk_main ();
return 0;
}
|
|
From: gfu <gf...@pu...> - 2002-09-16 07:25:38
|
I use the "New project" to creat a GTK+ project,and then compile and run it success!but the line is not executed: gtk_init (&_argc, &_argv);why?
#include <stdlib.h>
#include <gtk/gtk.h>
#include <windows.h>
GtkWidget *win;
GtkWidget *vbox;
static void
HelloWorld ()
{
GtkWidget *dialog;
dialog = gtk_message_dialog_new (GTK_WINDOW (win),
GTK_DIALOG_MODAL, GTK_MESSAGE_INFO, GTK_BUTTONS_CLOSE,
"Hello World!");
gtk_window_set_position (GTK_WINDOW (dialog), GTK_WIN_POS_CENTER);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
}
int WINAPI
WinMain (HINSTANCE hThisInstance,
HINSTANCE hPrevInstance,
LPSTR lpszArgument,
int nFunsterStil)
{
GtkWidget *button;
/* Initialize GTK+ */
g_log_set_handler ("Gtk", G_LOG_LEVEL_WARNING,
(GLogFunc) gtk_false, NULL);
gtk_init (&_argc, &_argv);
g_log_set_handler ("Gtk", G_LOG_LEVEL_WARNING,
g_log_default_handler, NULL);
/* Create the main window */
win = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_container_set_border_width (GTK_CONTAINER (win), 8);
gtk_window_set_title (GTK_WINDOW (win), "Hello World");
gtk_window_set_position (GTK_WINDOW (win), GTK_WIN_POS_CENTER);
gtk_widget_realize (win);
g_signal_connect (win, "destroy", gtk_main_quit, NULL);
/* Create a vertical box with buttons */
vbox = gtk_vbox_new (TRUE, 6);
gtk_container_add (GTK_CONTAINER (win), vbox);
button = gtk_button_new_from_stock (GTK_STOCK_DIALOG_INFO);
g_signal_connect (button, "clicked", HelloWorld, NULL);
gtk_box_pack_start (GTK_BOX (vbox), button, TRUE, TRUE, 0);
button = gtk_button_new_from_stock (GTK_STOCK_CLOSE);
g_signal_connect (button, "clicked", gtk_main_quit, NULL);
gtk_box_pack_start (GTK_BOX (vbox), button, TRUE, TRUE, 0);
/* Enter the main loop */
gtk_widget_show_all (win);
gtk_main ();
return 0;
}
|
|
From: <zy...@ya...> - 2002-09-16 05:21:07
|
yon...@16... --------------------------------- Do You Yahoo!? 雅虎娱乐新鲜到底,电子周报快乐到家! |
|
From: Eric R. <e.r...@pa...> - 2002-09-15 23:32:13
|
Hi I have just found Dev-C++, are there any help files around for it From Eric NO ATTACHMENT WAS SENT WITH THIS EMAIL, IF THERE IS ONE, IT IS A UNDETECTED VIRUS, PLEASE LET ME KNOW.. |
|
From: Carlos d. M. <cg...@wo...> - 2002-09-15 11:31:52
|
It seems that I found the solution, the site where I found about the command which substitutes -fnative-struct has an errate, and that the new option is not -mms-bitfield, it's -mms-bitfields, with that I compiled both examples. What I don't see is how with one of them the compiler accepted the option without the final s, and it worked fine. |
|
From: metalseb <met...@fr...> - 2002-09-15 09:22:15
|
Hello Just begin by scanning the root directory you want to check by a scandir function. It will complete an array of "struct dirent" entries. Then you just have to walk through this array and check the d_type var of each structure. If this is DT_DIR, this is not a file, just a directory. Check this out at : http://www.skip.informatik.gu.se/~nacka/glibc/glibc_248.html#SEC255 Kind regards -- Seb |
|
From: Abhijit S. <mu...@gm...> - 2002-09-15 05:52:44
|
Greets, Luigi. > Hello all, > > I've downloaded "new" MinGW gcc 3.2 to use it instead of "old" Mingw gcc > 2.95.2. > > As I happen to use "gcc" from the command line, I've noticed the following > change. > > Say that "c:\test\hello.cpp" is the famous "hello world" program, also, > suppose the semicolon, after the string literal "Hello world!\n", is missing. > > When the command: > > gcc -c c:\test\hello.cpp > > is issued, one expects an error message of the type: > > FILE:LINE: MESSAGE > > where FILE is: > c:\test\hello.cpp if "old" gcc is used > c:/test/hello.cpp if "new" gcc is used > > On Win98SE, I would like to have paths written in Windows style, and so > tried a simple pipe: > > gcc -c c:\test\hello.cpp | reverse_slashes > > where "reverse_slashes" is a program turning all slashes into backslashes. > > It does not work, since, gcc prints error messages on the standard error > stream > > > The next thing I thought of is: > > gcc -c c:\test\hello.cpp 2>&1 | reverse_slashes > > but that does not work either, because "command.com" is not "bash"! > > Any suggestion is welcome. > TIA > > -- > gisan Searched the MingW mailing list, got this: ------- Start ------- Try Mumit Kahn's little redir utility. I think links to his site are in the mingw pages link section. with redir you can either redirect to a file or reirect to stdout and use less. Nicholas ------ Stop ------ I visited the site, and did a (very) superficial search, result: no `redir' available. See if you can find it. Or google it, it should be archived somewhere. I remember using it with DJGPP. Some other links: http://sourceforge.net/mailarchive/message.php?msg_id=1165980 ^ Above message http://sourceforge.net/mailarchive/message.php?msg_id=1166366 http://sourceforge.net/mailarchive/message.php?msg_id=1170316 ___________________________________________________________ Abhijit Shylanath E-mail: mu...@gm... || ibr...@bi... Web-site: http://mudeth.tripod.com/ |
|
From: Carlos d. M. <cg...@wo...> - 2002-09-14 19:38:47
|
Carlos =3D?iso-8859-1?Q?Garc=3DEDa?=3D del Monte escribi=F3: > I got GTK+, and compiling an example, it says it needs -fnative-struct, > but this flag is not suported in GCC3.2, so I use -mms-bitfield, which > is the option said to be equivalent, but that doesn't work. > Can I do anything? I recompiled another example and it worked fine with -mms-bitfield, but i= n another when I compile it says in the errors report: cc1plus.exe C:\Dev-Cpp\projects\work\cc1plus.exe invalid option 'ms-bitfield' I see at makefile.win, but it's well written -mms-bitfield, like in the other example which works. > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Jorge A. <jor...@ep...> - 2002-09-14 19:04:50
|
Carlos Garc=EDa del Monte escribi=F3:: >I've the updated spanish.lng which has been completely translated (but >with some errata, I sent corrections yet to the translation author). Do >you speek about <ERR:1245> kind of label on items? (I rememeber some >posts about that by I don't remember a little time ago). >That's not the problem. I should have written error in language >management in subject. >The problem is: >I set spanish in the environment options. The editor shows all the >spanish labels perfectly. >I compile a windows program with an error which is passed by the >compiler (in select font I don't set choosefont flags) >I run the program, it is displayed, I select change font and "My_Editor >has generated errors, windows must close the program. an error log is >being created. Cancel" >The program is closed and Dev has changed to english automatically >I go to environment options, in the language field spanish is still >selected. I press OK, the editor is still in english. >Return to options, select english and OK, go to options again, select >spanish, OK. Still English. Close Dev. Open Dev still english, options >show spanish, set english again, close Dev. Open Dev, options, select >spanish, the editor has spanish again. > >Jorge Alzate escribi=F3: > > =20 > >>I've experimented the same issue. Edit manually the YourLanguage.lng >>file following the English,lng guides. >> >>------------------------------------------------------- >>This sf.net email is sponsored by:ThinkGeek >>Welcome to geek heaven. >>http://thinkgeek.com/sf >>_______________________________________________ >>Dev-cpp-users mailing list >>Dev...@li... >>TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm >>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users >> =20 >> > > > =20 > That message is caused by a missing resource, which belongs to the *.lng=20 file, Just add the missing string resources. |
|
From: Carlos d. M. <cg...@wo...> - 2002-09-14 17:09:04
|
Regarding that, I find it more than a half of times, but the project is perfectly compiled and built. |
|
From: Carlos d. M. <cg...@wo...> - 2002-09-14 17:08:14
|
I got GTK+, and compiling an example, it says it needs -fnative-struct, but this flag is not suported in GCC3.2, so I use -mms-bitfield, which is the option said to be equivalent, but that doesn't work. Can I do anything? |
|
From: Carlos d. M. <cg...@wo...> - 2002-09-14 10:57:48
|
I've the updated spanish.lng which has been completely translated (but with some errata, I sent corrections yet to the translation author). Do you speek about <ERR:1245> kind of label on items? (I rememeber some posts about that by I don't remember a little time ago). That's not the problem. I should have written error in language management in subject. The problem is: I set spanish in the environment options. The editor shows all the spanish labels perfectly. I compile a windows program with an error which is passed by the compiler (in select font I don't set choosefont flags) I run the program, it is displayed, I select change font and "My_Editor has generated errors, windows must close the program. an error log is being created. Cancel" The program is closed and Dev has changed to english automatically I go to environment options, in the language field spanish is still selected. I press OK, the editor is still in english. Return to options, select english and OK, go to options again, select spanish, OK. Still English. Close Dev. Open Dev still english, options show spanish, set english again, close Dev. Open Dev, options, select spanish, the editor has spanish again. Jorge Alzate escribi=F3: > I've experimented the same issue. Edit manually the YourLanguage.lng > file following the English,lng guides. > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Luigi S. <gi...@li...> - 2002-09-13 23:30:04
|
Hi Carlos, I know what I'm about to say this is obvious, don't yell at me :) Once "dosfy.c" has been compiled (so "dosfy.exe" is available), one uses it (from a Dos box) as follows: dosfy < winerror.h > dos_winerr.txt -- gisan |