dev-cpp-users Mailing List for Dev-C++ (Page 244)
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: Per W. <pw...@ia...> - 2004-03-04 08:49:52
|
You have lost the -lgdi32 on the linker line. /PWM EMA System email: pw...@ia... Per Westermark web: http://iapetus.neab.net Vargvaegen 174B phone: +46 70 214 74 48 S-906 42 Umeaa Sweden On Wed, 3 Mar 2004, Kenneth R. Andersen wrote: > Hi, > > Dev-C++ seemed to work just fine; for a few > days, and then I tried out the JV16 Power Tools; > and even "undo"ing everything from their menu > has not un-dud the foul-up . > > I haven't actually used the Dev-C++ program; > but I've been trying to run the example programs; > and I'm getting various errors . > > Installing "ConCalc" seems to have eliminated > many errors; but not enough . > > I have tried to uninstall,and re-install; but > it did not make any obvious difference . > > Suggestions ? > > Thanks, > Ken . > > -- > "The war isn't the war between the blacks and the whites, > the liberals and the conservatives, > or the Federation and the Romulans. > It's between the clueful and the clueless." > (an anonymous poster on cypherpunks list) > > > > --------------- |
|
From: Tim S. <ti...@we...> - 2004-03-04 05:38:48
|
Hi Kenneth, Am Wed, 03 Mar 2004 21:12:59 -0800 hast du folgendes von dir gelassen: > undefined reference to 'GetStockObject@4' you missed to set the winsock lib in the project options -> Properties -> Linker and add there -lwsock32 -lmswsock greetings Tim -- http://we-are-teh-b.org/~tim/borg.key http://learn.to/quote |
|
From: Kenneth R. A. <stg...@my...> - 2004-03-04 05:26:40
|
Hi,
Dev-C++ seemed to work just fine; for a few
days, and then I tried out the JV16 Power Tools;
and even "undo"ing everything from their menu
has not un-dud the foul-up .
I haven't actually used the Dev-C++ program;
but I've been trying to run the example programs;
and I'm getting various errors .
Installing "ConCalc" seems to have eliminated
many errors; but not enough .
I have tried to uninstall,and re-install; but
it did not make any obvious difference .
Suggestions ?
Thanks,
Ken .
--=20
"The war isn't the war between the blacks and the whites,=20
the liberals and the conservatives,=20
or the Federation and the Romulans.=20
It's between the clueful and the clueless."=20
(an anonymous poster on cypherpunks list)
|
|
From: michele <mic...@li...> - 2004-03-03 14:40:11
|
A little tutorial in order to start irrlicht on dev-cpp: http://irrlicht.sourceforge.net/tut001b.html |
|
From: David M. <ci...@ya...> - 2004-03-03 04:20:35
|
select() under windows only works for sockets, not files, not pipes, nothing else. A replacement? Get a good strong cup of coffee, put the kids to bed and go search MSDN. ----- Original Message ----- From: "Alain Paschoud" <ala...@ge...> To: <dev...@li...> Sent: Tuesday, March 02, 2004 8:39 AM Subject: [Dev-C++] Select and serial port > Hi all, > > I use dev-cpp on windows to port a simple code to get data from serial port using select. The code is well working under linux. But on windows, the return value of select is always "-1" (the select returns -1 at once). > Is it impossible to use select for serial ports ? If yes, How could I do non-blocking read ? > > Thank you for any help or advice. > > Attached : the simple program I did to test select. > __________________________________ Do you Yahoo!? Yahoo! Search - Find what youre looking for faster http://search.yahoo.com |
|
From: Langner, C. <lan...@ty...> - 2004-03-02 14:06:03
|
You can also check the complete text of the error message by selecting the "Compile Log" tab near the bottom of the IDE window. Chuck |
|
From: Alain P. <ala...@ge...> - 2004-03-02 13:52:31
|
Hi all, I use dev-cpp on windows to port a simple code to get data from serial port using select. The code is well working under linux. But on windows, the return value of select is always "-1" (the select returns -1 at once). Is it impossible to use select for serial ports ? If yes, How could I do non-blocking read ? Thank you for any help or advice. Attached : the simple program I did to test select. |
|
From: Per W. <pw...@ia...> - 2004-03-02 09:52:55
|
So, the example code is a bit broken and doesn't correctly handle missing resources... I have seen in a number of examples that they have been produced in a bit of hurry. /Per W On Tue, 2 Mar 2004, Christian Sch=E4fer wrote: > hi Per, > > solved it. I just localized the menuitems to german language and > somehow (do not ask! ;-) it now works... ;-) > > > > > gruss > /Christian mailto:ca...@kr... > > -- > I propose that the following character sequence for joke markers: > > :-) > 19-Sep-82 11:44 Scott E Fahlman > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=3D1356&alloc_id=3D3438&op=3Dclick > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: <ca...@kr...> - 2004-03-02 09:13:31
|
hi Per,
solved it. I just localized the menuitems to german language and
somehow (do not ask! ;-) it now works... ;-)
gruss
/Christian mailto:ca...@kr...
--
I propose that the following character sequence for joke markers:
:-)
19-Sep-82 11:44 Scott E Fahlman
|
|
From: <ca...@kr...> - 2004-03-02 09:08:03
|
hi Per,
Tuesday, March 2, 2004, 9:36:47 AM, you wrote:
> Your previous problem was that the template file for wxWindows
> applications missed a number of needed flags.
> Anyway, you don't happen to have a bit more information about what error
> you get?
not exactly no.
I open the example mentioned, I compile it, I run it, I menupick
"file/exit" and it crashes...
remember, I have not edited anything in the example code...
gruss
/Christian mailto:ca...@kr...
--
I propose that the following character sequence for joke markers:
:-)
19-Sep-82 11:44 Scott E Fahlman
|
|
From: Per W. <pw...@ia...> - 2004-03-02 08:49:37
|
Your previous problem was that the template file for wxWindows applications missed a number of needed flags. Anyway, you don't happen to have a bit more information about what error you get? /Per W On Tue, 2 Mar 2004, [ISO-8859-15] Christian Sch=E4fer wrote: > hi again, > > > I'm not new to devcpp but to wxwidgets. > > still true. but the problem was (partly) solved. I now completely > reinstalled devcpp with all the packages and now it works! > > BUT! > > the example application > > // Name: minimal.cpp > // Purpose: Minimal wxWindows sample > // Author: Julian Smart > // Modified by: > // Created: 04/01/98 > // RCS-ID: $Id: minimal.cpp,v 1.57 2002/04/07 21:12:45 JS Exp $ > // Copyright: (c) Julian Smart > // Licence: wxWindows licence > > compiles and runs but throws an error on exit. > how is that..? > > > > gruss > /Christian mailto:ca...@kr... > > -- > I propose that the following character sequence for joke markers: > > :-) > 19-Sep-82 11:44 Scott E Fahlman > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=3D1356&alloc_id=3D3438&op=3Dclick > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: <ca...@kr...> - 2004-03-02 08:30:08
|
hi again,
> I'm not new to devcpp but to wxwidgets.
still true. but the problem was (partly) solved. I now completely
reinstalled devcpp with all the packages and now it works!
BUT!
the example application
// Name: minimal.cpp
// Purpose: Minimal wxWindows sample
// Author: Julian Smart
// Modified by:
// Created: 04/01/98
// RCS-ID: $Id: minimal.cpp,v 1.57 2002/04/07 21:12:45 JS Exp $
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
compiles and runs but throws an error on exit.
how is that..?
gruss
/Christian mailto:ca...@kr...
--
I propose that the following character sequence for joke markers:
:-)
19-Sep-82 11:44 Scott E Fahlman
|
|
From: <ca...@kr...> - 2004-03-02 07:59:57
|
hi all!
I'm not new to devcpp but to wxwidgets.
I just updated my ide and installed the wxwidget package as well as the image lib package.
I restarted the whole program and created a new wxwidget gui project.
I then tried to compile the given code (haven't changed a single line) and got lots and lots of errors...
what have I done wrong?
thanks in advance!
regards
/christian
Compiler: Default compiler
Building Makefile: "C:\Tools\Dev-Cpp\Makefile.win"
Executing make clean
rm -f main.o Project1_private.res Project1.exe
g++.exe -c main.cpp -o main.o -I"C:/Tools/Dev-Cpp/include/c++" -I"C:/Tools/Dev-Cpp/include/c++/mingw32" -I"C:/Tools/Dev-Cpp/include/c++/backward" -I"C:/Tools/Dev-Cpp/include" -ansi -fexpensive-optimizations -O3
In file included from C:/Tools/Dev-Cpp/include/wx/wx.h:15,
from main.cpp:5:
C:/Tools/Dev-Cpp/include/wx/defs.h:320: redeclaration of C++ built-in type `
bool'
In file included from C:/Tools/Dev-Cpp/include/wx/debug.h:17,
from C:/Tools/Dev-Cpp/include/wx/defs.h:468,
from C:/Tools/Dev-Cpp/include/wx/wx.h:15,
from main.cpp:5:
C:/Tools/Dev-Cpp/include/wx/wxchar.h:429:6: #error "Please define string case-insensitive compare for your OS/compiler"
In file included from C:/Tools/Dev-Cpp/include/wx/string.h:70,
from C:/Tools/Dev-Cpp/include/wx/memory.h:20,
from C:/Tools/Dev-Cpp/include/wx/object.h:20,
from C:/Tools/Dev-Cpp/include/wx/wx.h:16,
from main.cpp:5:
C:/Tools/Dev-Cpp/include/wx/buffer.h: In constructor
`wxCharBuffer::wxCharBuffer(const char*)':
C:/Tools/Dev-Cpp/include/wx/buffer.h:33: `strdup' undeclared (first use this
function)
C:/Tools/Dev-Cpp/include/wx/buffer.h:33: (Each undeclared identifier is
reported only once for each function it appears in.)
In file included from C:/Tools/Dev-Cpp/include/wx/memory.h:20,
from C:/Tools/Dev-Cpp/include/wx/object.h:20,
from C:/Tools/Dev-Cpp/include/wx/wx.h:16,
from main.cpp:5:
C:/Tools/Dev-Cpp/include/wx/string.h:170:4: #error "Please define string case-insensitive compare for your OS/compiler"
In file included from C:/Tools/Dev-Cpp/include/wx/memory.h:20,
from C:/Tools/Dev-Cpp/include/wx/object.h:20,
from C:/Tools/Dev-Cpp/include/wx/wx.h:16,
from main.cpp:5:
C:/Tools/Dev-Cpp/include/wx/string.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/string.h:419: `char wxString::operator[](unsigned
int) const' and `char wxString::operator[](unsigned int) const' cannot be
overloaded
C:/Tools/Dev-Cpp/include/wx/string.h:423: `char& wxString::operator[](unsigned
int)' and `char& wxString::operator[](unsigned int)' cannot be overloaded
In file included from C:/Tools/Dev-Cpp/include/c++/backward/iostream.h:31,
from C:/Tools/Dev-Cpp/include/wx/memory.h:33,
from C:/Tools/Dev-Cpp/include/wx/object.h:20,
from C:/Tools/Dev-Cpp/include/wx/wx.h:16,
from main.cpp:5:
C:/Tools/Dev-Cpp/include/c++/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
In file included from C:/Tools/Dev-Cpp/include/wx/gdicmn.h:29,
from C:/Tools/Dev-Cpp/include/wx/event.h:23,
from C:/Tools/Dev-Cpp/include/wx/wx.h:23,
from main.cpp:5:
C:/Tools/Dev-Cpp/include/wx/font.h:77: parse error before `{' token
C:/Tools/Dev-Cpp/include/wx/font.h:90: non-member function `bool Ok()' cannot
have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/font.h: In function `bool Ok()':
C:/Tools/Dev-Cpp/include/wx/font.h:90: `m_refData' undeclared (first use this
function)
C:/Tools/Dev-Cpp/include/wx/font.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/font.h:93: non-member function `bool
operator==(const wxFont&)' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/font.h:93: `bool operator==(const wxFont&)' must
take exactly two arguments
C:/Tools/Dev-Cpp/include/wx/font.h:94: non-member function `bool
operator!=(const wxFont&)' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/font.h:94: `bool operator!=(const wxFont&)' must
take exactly two arguments
C:/Tools/Dev-Cpp/include/wx/font.h:97: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/font.h:97: non-member function `int GetPointSize()'
cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/font.h:97: function `int GetPointSize()' is
initialized like a variable
C:/Tools/Dev-Cpp/include/wx/font.h:98: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/font.h:98: non-member function `int GetFamily()'
cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/font.h:98: function `int GetFamily()' is
initialized like a variable
C:/Tools/Dev-Cpp/include/wx/font.h:99: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/font.h:99: non-member function `int GetStyle()'
cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/font.h:99: function `int GetStyle()' is initialized
like a variable
C:/Tools/Dev-Cpp/include/wx/font.h:100: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/font.h:100: non-member function `int GetWeight()'
cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/font.h:100: function `int GetWeight()' is
initialized like a variable
C:/Tools/Dev-Cpp/include/wx/font.h:101: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/font.h:101: non-member function `bool
GetUnderlined()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/font.h:101: function `bool GetUnderlined()' is
initialized like a variable
C:/Tools/Dev-Cpp/include/wx/font.h:102: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/font.h:102: non-member function `wxString
GetFaceName()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/font.h:102: function `wxString GetFaceName()' is
initialized like a variable
C:/Tools/Dev-Cpp/include/wx/font.h:103: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/font.h:103: non-member function `wxFontEncoding
GetEncoding()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/font.h:103: function `wxFontEncoding GetEncoding()'
is initialized like a variable
C:/Tools/Dev-Cpp/include/wx/font.h:106: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/font.h:106: function `void SetPointSize(int)' is
initialized like a variable
C:/Tools/Dev-Cpp/include/wx/font.h:107: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/font.h:107: function `void SetFamily(int)' is
initialized like a variable
C:/Tools/Dev-Cpp/include/wx/font.h:108: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/font.h:108: function `void SetStyle(int)' is
initialized like a variable
C:/Tools/Dev-Cpp/include/wx/font.h:109: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/font.h:109: function `void SetWeight(int)' is
initialized like a variable
C:/Tools/Dev-Cpp/include/wx/font.h:110: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/font.h:110: function `void SetFaceName(const
wxString&)' is initialized like a variable
C:/Tools/Dev-Cpp/include/wx/font.h:111: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/font.h:111: function `void SetUnderlined(bool)' is
initialized like a variable
C:/Tools/Dev-Cpp/include/wx/font.h:112: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/font.h:112: function `void
SetEncoding(wxFontEncoding)' is initialized like a variable
C:/Tools/Dev-Cpp/include/wx/font.h:116: non-member function `wxString
GetFamilyString()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/font.h:117: non-member function `wxString
GetStyleString()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/font.h:118: non-member function `wxString
GetWeightString()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/font.h: In function `wxFontEncoding
GetDefaultEncoding()':
C:/Tools/Dev-Cpp/include/wx/font.h:123: `ms_encodingDefault' undeclared (first
use this function)
C:/Tools/Dev-Cpp/include/wx/font.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/font.h:127: parse error before `protected'
In file included from C:/Tools/Dev-Cpp/include/wx/utils.h:26,
from C:/Tools/Dev-Cpp/include/wx/cursor.h:20,
from C:/Tools/Dev-Cpp/include/wx/event.h:24,
from C:/Tools/Dev-Cpp/include/wx/wx.h:23,
from main.cpp:5:
C:/Tools/Dev-Cpp/include/wx/filefn.h:51: syntax error before `=' token
In file included from C:/Tools/Dev-Cpp/include/wx/event.h:24,
from C:/Tools/Dev-Cpp/include/wx/wx.h:23,
from main.cpp:5:
C:/Tools/Dev-Cpp/include/wx/cursor.h: In destructor
`wxBusyCursorSuspender::~wxBusyCursorSuspender()':
C:/Tools/Dev-Cpp/include/wx/cursor.h:52: invalid use of undefined type `const
struct wxCursor'
C:/Tools/Dev-Cpp/include/wx/gdicmn.h:38: forward declaration of `const struct
wxCursor'
In file included from C:/Tools/Dev-Cpp/include/wx/wx.h:23,
from main.cpp:5:
C:/Tools/Dev-Cpp/include/wx/event.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/event.h:763: field `m_cursor' has incomplete type
C:/Tools/Dev-Cpp/include/wx/event.h: In member function `void
wxSetCursorEvent::SetCursor(const wxCursor&)':
C:/Tools/Dev-Cpp/include/wx/event.h:757: `m_cursor' undeclared (first use this
function)
In file included from C:/Tools/Dev-Cpp/include/wx/app.h:41,
from C:/Tools/Dev-Cpp/include/wx/wx.h:24,
from main.cpp:5:
C:/Tools/Dev-Cpp/include/wx/window.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/window.h:427: parse error before `&' token
C:/Tools/Dev-Cpp/include/wx/window.h:429: syntax error before `*' token
C:/Tools/Dev-Cpp/include/wx/window.h: In constructor
`wxWindowBase::wxWindowBase()':
C:/Tools/Dev-Cpp/include/wx/window.h:114: `InitBase' undeclared (first use this
function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `bool
wxWindowBase::IsBeingDeleted() const':
C:/Tools/Dev-Cpp/include/wx/window.h:154: `m_isBeingDeleted' undeclared (first
use this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `virtual void
wxWindowBase::SetName(const wxString&)':
C:/Tools/Dev-Cpp/include/wx/window.h:171: `m_windowName' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `void
wxWindowBase::SetId(int)':
C:/Tools/Dev-Cpp/include/wx/window.h:176: `m_windowId' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In static member function `static int
wxWindowBase::NewControlId()':
C:/Tools/Dev-Cpp/include/wx/window.h:181: `ms_lastControlId' undeclared (first
use this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `void
wxWindowBase::SetSize(int, int, int, int, int)':
C:/Tools/Dev-Cpp/include/wx/window.h:195: `DoSetSize' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `void
wxWindowBase::SetClientSize(int, int)':
C:/Tools/Dev-Cpp/include/wx/window.h:218: `DoSetClientSize' undeclared (first
use this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `void
wxWindowBase::GetPosition(int*, int*) const':
C:/Tools/Dev-Cpp/include/wx/window.h:227: `DoGetPosition' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `void
wxWindowBase::GetSize(int*, int*) const':
C:/Tools/Dev-Cpp/include/wx/window.h:236: `DoGetSize' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `void
wxWindowBase::GetClientSize(int*, int*) const':
C:/Tools/Dev-Cpp/include/wx/window.h:253: `DoGetClientSize' undeclared (first
use this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `wxSize
wxWindowBase::GetBestSize() const':
C:/Tools/Dev-Cpp/include/wx/window.h:264: `DoGetBestSize' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `int
wxWindowBase::GetMinWidth() const':
C:/Tools/Dev-Cpp/include/wx/window.h:296: `m_minWidth' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `int
wxWindowBase::GetMinHeight() const':
C:/Tools/Dev-Cpp/include/wx/window.h:297: `m_minHeight' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `int
wxWindowBase::GetMaxWidth() const':
C:/Tools/Dev-Cpp/include/wx/window.h:298: `m_maxWidth' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `int
wxWindowBase::GetMaxHeight() const':
C:/Tools/Dev-Cpp/include/wx/window.h:299: `m_maxHeight' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `bool
wxWindowBase::IsShown() const':
C:/Tools/Dev-Cpp/include/wx/window.h:313: `m_isShown' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `bool
wxWindowBase::IsEnabled() const':
C:/Tools/Dev-Cpp/include/wx/window.h:314: `m_isEnabled' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `virtual void
wxWindowBase::SetWindowStyleFlag(long int)':
C:/Tools/Dev-Cpp/include/wx/window.h:318: `m_windowStyle' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `void
wxWindowBase::SetExtraStyle(long int)':
C:/Tools/Dev-Cpp/include/wx/window.h:330: `m_exStyle' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `const wxWindowList&
wxWindowBase::GetChildren() const':
C:/Tools/Dev-Cpp/include/wx/window.h:352: `m_children' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `wxWindow*
wxWindowBase::GetParent() const':
C:/Tools/Dev-Cpp/include/wx/window.h:356: `m_parent' undeclared (first use this
function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `wxEvtHandler*
wxWindowBase::GetEventHandler() const':
C:/Tools/Dev-Cpp/include/wx/window.h:381: `m_eventHandler' undeclared (first
use this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `virtual wxValidator*
wxWindowBase::GetValidator()':
C:/Tools/Dev-Cpp/include/wx/window.h:399: `m_windowValidator' undeclared (first
use this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `void
wxWindowBase::SetClientObject(wxClientData*)':
C:/Tools/Dev-Cpp/include/wx/window.h:406: `DoSetClientObject' undeclared (first
use this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `wxClientData*
wxWindowBase::GetClientObject() const':
C:/Tools/Dev-Cpp/include/wx/window.h:407: `DoGetClientObject' undeclared (first
use this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `void
wxWindowBase::SetClientData(void*)':
C:/Tools/Dev-Cpp/include/wx/window.h:409: `DoSetClientData' undeclared (first
use this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `void*
wxWindowBase::GetClientData() const':
C:/Tools/Dev-Cpp/include/wx/window.h:410: `DoGetClientData' undeclared (first
use this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `virtual void
wxWindowBase::SetAcceleratorTable(...)':
C:/Tools/Dev-Cpp/include/wx/window.h:428: `m_acceleratorTable' undeclared
(first use this function)
C:/Tools/Dev-Cpp/include/wx/window.h:428: `accel' undeclared (first use this
function)
C:/Tools/Dev-Cpp/include/wx/window.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/window.h:436: ISO C++ forbids defining types within
return type
C:/Tools/Dev-Cpp/include/wx/window.h:436: syntax error before `(' token
C:/Tools/Dev-Cpp/include/wx/window.h: In function `wxSize
ConvertPixelsToDialog(const wxSize&)':
C:/Tools/Dev-Cpp/include/wx/window.h:440: could not convert `
wxPoint(sz->wxSize::x, sz->wxSize::y)' to `const wxSize&'
C:/Tools/Dev-Cpp/include/wx/window.h:439: in passing argument 1 of `wxSize
ConvertPixelsToDialog(const wxSize&)'
C:/Tools/Dev-Cpp/include/wx/window.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/window.h:456: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:456: function `void WarpPointer(int, int)'
is initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h:459: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:459: function `void CaptureMouse()' is
initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h:460: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:460: function `void ReleaseMouse()' is
initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h:468: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:468: function `void Refresh(bool = 1,
const wxRect* = 0)' is initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h:470: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:470: function `void Clear()' is
initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h:473: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:477: non-member function `const wxRegion&
GetUpdateRegion()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h: In function `const wxRegion&
GetUpdateRegion()':
C:/Tools/Dev-Cpp/include/wx/window.h:477: `m_updateRegion' undeclared (first
use this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In function `wxRegion&
GetUpdateRegion()':
C:/Tools/Dev-Cpp/include/wx/window.h:478: new declaration `wxRegion&
GetUpdateRegion()'
C:/Tools/Dev-Cpp/include/wx/window.h:477: ambiguates old declaration `const
wxRegion& GetUpdateRegion()'
C:/Tools/Dev-Cpp/include/wx/window.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/window.h:482: non-member function `bool
IsExposed(int, int)' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h:483: non-member function `bool
IsExposed(int, int, int, int)' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h:486: non-member function `bool
IsExposed(const wxPoint&)' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h:488: non-member function `bool
IsExposed(const wxRect&)' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h:495: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:496: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:498: non-member function `wxColour
GetBackgroundColour()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h: In function `wxColour
GetBackgroundColour()':
C:/Tools/Dev-Cpp/include/wx/window.h:498: return type `struct wxColour' is
incomplete
C:/Tools/Dev-Cpp/include/wx/window.h:498: `m_backgroundColour' undeclared
(first use this function)
C:/Tools/Dev-Cpp/include/wx/window.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/window.h:499: non-member function `wxColour
GetForegroundColour()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h: In function `wxColour
GetForegroundColour()':
C:/Tools/Dev-Cpp/include/wx/window.h:499: return type `struct wxColour' is
incomplete
C:/Tools/Dev-Cpp/include/wx/window.h:499: `m_foregroundColour' undeclared
(first use this function)
C:/Tools/Dev-Cpp/include/wx/window.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/window.h:503: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:504: non-member function `const wxCursor&
GetCursor()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h: In function `const wxCursor&
GetCursor()':
C:/Tools/Dev-Cpp/include/wx/window.h:504: new declaration `const wxCursor&
GetCursor()'
C:/Tools/Dev-Cpp/include/wingdi.h:2544: ambiguates old declaration `HICON__*
GetCursor()'
C:/Tools/Dev-Cpp/include/wx/window.h: In function `wxCursor& GetCursor()':
C:/Tools/Dev-Cpp/include/wx/window.h:505: new declaration `wxCursor&
GetCursor()'
C:/Tools/Dev-Cpp/include/wx/window.h:504: ambiguates old declaration `const
wxCursor& GetCursor()'
C:/Tools/Dev-Cpp/include/wx/window.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/window.h:509: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:509: function `bool SetFont(const wxFont&)
' is initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h:510: non-member function `const wxFont&
GetFont()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h: In function `const wxFont& GetFont()':
C:/Tools/Dev-Cpp/include/wx/window.h:510: `m_font' undeclared (first use this
function)
C:/Tools/Dev-Cpp/include/wx/window.h: In function `wxFont& GetFont()':
C:/Tools/Dev-Cpp/include/wx/window.h:511: new declaration `wxFont& GetFont()'
C:/Tools/Dev-Cpp/include/wx/window.h:510: ambiguates old declaration `const
wxFont& GetFont()'
C:/Tools/Dev-Cpp/include/wx/window.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/window.h:517: non-member function `wxCaret*
GetCaret()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h: In function `wxCaret* GetCaret()':
C:/Tools/Dev-Cpp/include/wx/window.h:517: `m_caret' undeclared (first use this
function)
C:/Tools/Dev-Cpp/include/wx/window.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/window.h:521: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:521: non-member function `int
GetCharHeight()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h:521: function `int GetCharHeight()' is
initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h:522: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:522: non-member function `int
GetCharWidthA()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h:522: function `int GetCharWidthA()' is
initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h:531: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:531: non-member function `void
GetTextExtent(const wxString&, int*, int*, int*, int*, const wxFont*)'
cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h:531: function `void GetTextExtent(const
wxString&, int*, int*, int* = 0, int* = 0, const wxFont* = 0)' is
initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h:535: non-member function `void
ClientToScreen(int*, int*)' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h: In function `void ClientToScreen(int*,
int*)':
C:/Tools/Dev-Cpp/include/wx/window.h:535: `DoClientToScreen' undeclared (first
use this function)
C:/Tools/Dev-Cpp/include/wx/window.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/window.h:537: non-member function `void
ScreenToClient(int*, int*)' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h: In function `void ScreenToClient(int*,
int*)':
C:/Tools/Dev-Cpp/include/wx/window.h:537: `DoScreenToClient' undeclared (first
use this function)
C:/Tools/Dev-Cpp/include/wx/window.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/window.h:539: non-member function `wxPoint
ClientToScreen(const wxPoint&)' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h:547: non-member function `wxPoint
ScreenToClient(const wxPoint&)' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h: In function `bool PopupMenu(wxMenu*,
const wxPoint&)':
C:/Tools/Dev-Cpp/include/wx/window.h:560: `DoPopupMenu' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/window.h:572: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:572: function `void SetScrollbar(int, int,
int, int, bool = 1)' is initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h:573: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:573: function `void SetScrollPos(int, int,
bool = 1)' is initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h:574: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:574: non-member function `int
GetScrollPos(int)' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h:574: function `int GetScrollPos(int)' is
initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h:575: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:575: non-member function `int
GetScrollThumb(int)' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h:575: function `int GetScrollThumb(int)' is
initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h:576: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:576: non-member function `int
GetScrollRange(int)' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h:576: function `int GetScrollRange(int)' is
initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h:580: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:580: function `void ScrollWindow(int, int,
const wxRect* = 0)' is initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h: In function `void
SetToolTip(wxToolTip*)':
C:/Tools/Dev-Cpp/include/wx/window.h:588: `DoSetToolTip' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/window.h:590: non-member function `wxToolTip*
GetToolTip()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h: In function `wxToolTip* GetToolTip()':
C:/Tools/Dev-Cpp/include/wx/window.h:590: `m_tooltip' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/window.h:598: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:598: function `void
SetDropTarget(wxDropTarget*)' is initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h:599: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:599: non-member function `wxDropTarget*
GetDropTarget()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h: In function `wxDropTarget*
GetDropTarget()':
C:/Tools/Dev-Cpp/include/wx/window.h:599: `m_dropTarget' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/window.h:607: non-member function `
wxLayoutConstraints* GetConstraints()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h: In function `wxLayoutConstraints*
GetConstraints()':
C:/Tools/Dev-Cpp/include/wx/window.h:607: `m_constraints' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: In function `void SetAutoLayout(bool)':
C:/Tools/Dev-Cpp/include/wx/window.h:612: `m_autoLayout' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/window.h:613: non-member function `bool
GetAutoLayout()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h:616: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:621: non-member function `wxWindowList*
GetConstraintsInvolvedIn()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h: In function `wxWindowList*
GetConstraintsInvolvedIn()':
C:/Tools/Dev-Cpp/include/wx/window.h:621: `m_constraintsInvolvedIn' undeclared
(first use this function)
C:/Tools/Dev-Cpp/include/wx/window.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/window.h:628: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:629: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:630: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:631: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:634: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:635: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:636: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:636: non-member function `void
GetSizeConstraint(int*, int*)' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h:637: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:637: non-member function `void
GetClientSizeConstraint(int*, int*)' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h:638: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:638: non-member function `void
GetPositionConstraint(int*, int*)' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h:643: non-member function `wxSizer*
GetSizer()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h: In function `wxSizer* GetSizer()':
C:/Tools/Dev-Cpp/include/wx/window.h:643: `m_windowSizer' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/window.h:668: syntax error before `(' token
C:/Tools/Dev-Cpp/include/wx/window.h:677: `wxWindow*m_parent' used prior to
declaration
C:/Tools/Dev-Cpp/include/wx/window.h:678: `wxWindowList m_children' used prior
to declaration
C:/Tools/Dev-Cpp/include/wx/window.h:682: `int m_minWidth' used prior to
declaration
C:/Tools/Dev-Cpp/include/wx/window.h:682: `int m_minHeight' used prior to
declaration
C:/Tools/Dev-Cpp/include/wx/window.h:682: `int m_maxWidth' used prior to
declaration
C:/Tools/Dev-Cpp/include/wx/window.h:682: `int m_maxHeight' used prior to
declaration
C:/Tools/Dev-Cpp/include/wx/window.h:686: `wxEvtHandler*m_eventHandler' used
prior to declaration
C:/Tools/Dev-Cpp/include/wx/window.h:690: `wxValidator*m_windowValidator' used
prior to declaration
C:/Tools/Dev-Cpp/include/wx/window.h:694: `wxDropTarget*m_dropTarget' used
prior to declaration
C:/Tools/Dev-Cpp/include/wx/window.h:698: `wxCursor m_cursor' used prior to
declaration
C:/Tools/Dev-Cpp/include/wx/window.h:698: aggregate `wxCursor m_cursor' has
incomplete type and cannot be defined
C:/Tools/Dev-Cpp/include/wx/window.h:699: `wxFont m_font' used prior to
declaration
C:/Tools/Dev-Cpp/include/wx/window.h:699: aggregate `wxFont m_font' has
incomplete type and cannot be defined
C:/Tools/Dev-Cpp/include/wx/window.h:700: `wxColour m_backgroundColour' used
prior to declaration
C:/Tools/Dev-Cpp/include/wx/window.h:700: aggregate `wxColour
m_backgroundColour' has incomplete type and cannot be defined
C:/Tools/Dev-Cpp/include/wx/window.h:700: `wxColour m_foregroundColour' used
prior to declaration
C:/Tools/Dev-Cpp/include/wx/window.h:700: aggregate `wxColour
m_foregroundColour' has incomplete type and cannot be defined
C:/Tools/Dev-Cpp/include/wx/window.h:703: `wxCaret*m_caret' used prior to
declaration
C:/Tools/Dev-Cpp/include/wx/window.h:707: `wxRegion m_updateRegion' used prior
to declaration
C:/Tools/Dev-Cpp/include/wx/window.h:707: aggregate `wxRegion m_updateRegion'
has incomplete type and cannot be defined
C:/Tools/Dev-Cpp/include/wx/window.h:712: 'wxAcceleratorTable' is used as a
type, but is not defined as a type.
C:/Tools/Dev-Cpp/include/wx/window.h:724: namespace-scope anonymous aggregates
must be static
C:/Tools/Dev-Cpp/include/wx/window.h:728: `wxToolTip*m_tooltip' used prior to
declaration
C:/Tools/Dev-Cpp/include/wx/window.h:734: `wxLayoutConstraints*m_constraints'
used prior to declaration
C:/Tools/Dev-Cpp/include/wx/window.h:737: `wxWindowList*m_constraintsInvolvedIn
' used prior to declaration
C:/Tools/Dev-Cpp/include/wx/window.h:741: `wxSizer*m_windowSizer' used prior to
declaration
C:/Tools/Dev-Cpp/include/wx/window.h:745: syntax error before `:' token
C:/Tools/Dev-Cpp/include/wx/window.h:749: syntax error before `:' token
C:/Tools/Dev-Cpp/include/wx/window.h:750: syntax error before `:' token
C:/Tools/Dev-Cpp/include/wx/window.h:751: syntax error before `:' token
C:/Tools/Dev-Cpp/include/wx/window.h:754: `long int m_windowStyle' used prior
to declaration
C:/Tools/Dev-Cpp/include/wx/window.h:755: `long int m_exStyle' used prior to
declaration
C:/Tools/Dev-Cpp/include/wx/window.h:756: `wxString m_windowName' used prior to
declaration
C:/Tools/Dev-Cpp/include/wx/window.h:758: parse error before `protected'
C:/Tools/Dev-Cpp/include/wx/window.h: In function `void SetSizeOrDefault(const
wxSize&)':
C:/Tools/Dev-Cpp/include/wx/window.h:778: `GetBestSize' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/window.h:780: `SetSize' undeclared (first use this
function)
C:/Tools/Dev-Cpp/include/wx/window.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/window.h:801: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:801: non-member function `void
DoClientToScreen(int*, int*)' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h:801: function `void DoClientToScreen(int*,
int*)' is initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h:801: `void DoClientToScreen(int*, int*)'
used prior to declaration
C:/Tools/Dev-Cpp/include/wx/window.h:802: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:802: non-member function `void
DoScreenToClient(int*, int*)' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h:802: function `void DoScreenToClient(int*,
int*)' is initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h:802: `void DoScreenToClient(int*, int*)'
used prior to declaration
C:/Tools/Dev-Cpp/include/wx/window.h:805: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:805: non-member function `void
DoGetPosition(int*, int*)' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h:805: function `void DoGetPosition(int*,
int*)' is initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h:805: `void DoGetPosition(int*, int*)' used
prior to declaration
C:/Tools/Dev-Cpp/include/wx/window.h:806: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:806: non-member function `void
DoGetSize(int*, int*)' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h:806: function `void DoGetSize(int*, int*)'
is initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h:806: `void DoGetSize(int*, int*)' used
prior to declaration
C:/Tools/Dev-Cpp/include/wx/window.h:807: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:807: non-member function `void
DoGetClientSize(int*, int*)' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h:807: function `void DoGetClientSize(int*,
int*)' is initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h:807: `void DoGetClientSize(int*, int*)'
used prior to declaration
C:/Tools/Dev-Cpp/include/wx/window.h:812: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:812: non-member function `wxSize
DoGetBestSize()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h:812: `wxSize DoGetBestSize()' used prior
to declaration
C:/Tools/Dev-Cpp/include/wx/window.h:819: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:819: function `void DoSetSize(int, int,
int, int, int = 3)' is initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h:819: `void DoSetSize(int, int, int, int,
int = 3)' used prior to declaration
C:/Tools/Dev-Cpp/include/wx/window.h:822: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:822: function `void DoSetClientSize(int,
int)' is initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h:822: `void DoSetClientSize(int, int)' used
prior to declaration
C:/Tools/Dev-Cpp/include/wx/window.h:828: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:828: function `void DoMoveWindow(int, int,
int, int)' is initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h:831: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:831: `void DoSetToolTip(wxToolTip*)' used
prior to declaration
C:/Tools/Dev-Cpp/include/wx/window.h:834: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:834: function `bool DoPopupMenu(wxMenu*,
int, int)' is initialized like a variable
C:/Tools/Dev-Cpp/include/wx/window.h:834: `bool DoPopupMenu(wxMenu*, int, int)'
used prior to declaration
C:/Tools/Dev-Cpp/include/wx/window.h:837: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:837: `void
DoSetClientObject(wxClientData*)' used prior to declaration
C:/Tools/Dev-Cpp/include/wx/window.h:838: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:838: non-member function `wxClientData*
DoGetClientObject()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h:838: `wxClientData* DoGetClientObject()'
used prior to declaration
C:/Tools/Dev-Cpp/include/wx/window.h:840: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:840: `void DoSetClientData(void*)' used
prior to declaration
C:/Tools/Dev-Cpp/include/wx/window.h:841: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:841: non-member function `void*
DoGetClientData()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h:841: `void* DoGetClientData()' used prior
to declaration
C:/Tools/Dev-Cpp/include/wx/window.h:851: parse error before `private'
C:/Tools/Dev-Cpp/include/wx/window.h:855: `wxWindowBase& operator=(const
wxWindowBase&)' must be a nonstatic member function
C:/Tools/Dev-Cpp/include/wx/window.h:855: `wxWindowBase& operator=(const
wxWindowBase&)' must take exactly two arguments
C:/Tools/Dev-Cpp/include/wx/window.h:856: parse error before `private'
C:/Tools/Dev-Cpp/include/wx/window.h:856: virtual outside class declaration
C:/Tools/Dev-Cpp/include/wx/window.h:856: non-member function `const
wxEventTable* GetEventTable()' cannot have `const' method qualifier
C:/Tools/Dev-Cpp/include/wx/window.h:857: parse error before `}' token
C:/Tools/Dev-Cpp/include/wx/window.h: In member function `wxWindow*
wxWindowBase::GetGrandParent() const':
C:/Tools/Dev-Cpp/include/wx/window.h:884: invalid use of undefined type `struct
wxWindow'
C:/Tools/Dev-Cpp/include/wx/utils.h:41: forward declaration of `struct wxWindow
'
In file included from C:/Tools/Dev-Cpp/include/wx/wx.h:24,
from main.cpp:5:
C:/Tools/Dev-Cpp/include/wx/app.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/app.h:307: syntax error before `*' token
C:/Tools/Dev-Cpp/include/wx/app.h: In constructor
`wxAppInitializer::wxAppInitializer(wxObject*(*)())':
C:/Tools/Dev-Cpp/include/wx/app.h:366: `wxApp' undeclared (first use this
function)
C:/Tools/Dev-Cpp/include/wx/app.h:366: parse error before `;' token
In file included from C:/Tools/Dev-Cpp/include/wx/panel.h:4,
from C:/Tools/Dev-Cpp/include/wx/wx.h:30,
from main.cpp:5:
C:/Tools/Dev-Cpp/include/wx/generic/panelg.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/generic/panelg.h:34: base class `wxWindow' has
incomplete type
In file included from C:/Tools/Dev-Cpp/include/wx/wx.h:31,
from main.cpp:5:
C:/Tools/Dev-Cpp/include/wx/frame.h:57: base class `wxWindow' has incomplete
type
C:/Tools/Dev-Cpp/include/wx/frame.h:216: field `m_icon' has incomplete type
C:/Tools/Dev-Cpp/include/wx/frame.h: In member function `const wxIcon&
wxFrameBase::GetIcon() const':
C:/Tools/Dev-Cpp/include/wx/frame.h:89: `m_icon' undeclared (first use this
function)
In file included from C:/Tools/Dev-Cpp/include/wx/wx.h:32,
from main.cpp:5:
C:/Tools/Dev-Cpp/include/wx/dc.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/dc.h:625: field `m_pen' has incomplete type
C:/Tools/Dev-Cpp/include/wx/dc.h:626: field `m_brush' has incomplete type
C:/Tools/Dev-Cpp/include/wx/dc.h:627: field `m_backgroundBrush' has incomplete
type
C:/Tools/Dev-Cpp/include/wx/dc.h:628: field `m_textForegroundColour' has
incomplete type
C:/Tools/Dev-Cpp/include/wx/dc.h:629: field `m_textBackgroundColour' has
incomplete type
C:/Tools/Dev-Cpp/include/wx/dc.h:630: field `m_font' has incomplete type
C:/Tools/Dev-Cpp/include/wx/dc.h:631: field `m_palette' has incomplete type
C:/Tools/Dev-Cpp/include/wx/dc.h: In constructor `wxDCBase::wxDCBase()':
C:/Tools/Dev-Cpp/include/wx/dc.h:69: `m_backgroundBrush' undeclared (first use
this function)
C:/Tools/Dev-Cpp/include/wx/dc.h:71: `m_textForegroundColour' undeclared (first
use this function)
C:/Tools/Dev-Cpp/include/wx/dc.h:72: `m_textBackgroundColour' undeclared (first
use this function)
C:/Tools/Dev-Cpp/include/wx/dc.h: In member function `const wxBrush&
wxDCBase::GetBrush() const':
C:/Tools/Dev-Cpp/include/wx/dc.h:335: `m_brush' undeclared (first use this
function)
C:/Tools/Dev-Cpp/include/wx/dc.h: In member function `const wxPen&
wxDCBase::GetPen() const':
C:/Tools/Dev-Cpp/include/wx/dc.h:337: `m_pen' undeclared (first use this
function)
In file included from C:/Tools/Dev-Cpp/include/wx/wx.h:38,
from main.cpp:5:
C:/Tools/Dev-Cpp/include/wx/menu.h: In member function `void
wxMenuBase::Append(int, const wxString&, const wxString&, bool)':
C:/Tools/Dev-Cpp/include/wx/menu.h:81: no method `wxMenuItem::New'
C:/Tools/Dev-Cpp/include/wx/menu.h: In member function `void
wxMenuBase::Append(int, const wxString&, wxMenu*, const wxString&)':
C:/Tools/Dev-Cpp/include/wx/menu.h:93: no method `wxMenuItem::New'
C:/Tools/Dev-Cpp/include/wx/menu.h: In member function `void
wxMenuBase::Insert(unsigned int, int, const wxString&, const wxString&,
bool)':
C:/Tools/Dev-Cpp/include/wx/menu.h:111: no method `wxMenuItem::New'
C:/Tools/Dev-Cpp/include/wx/menu.h: In member function `void
wxMenuBase::InsertSeparator(unsigned int)':
C:/Tools/Dev-Cpp/include/wx/menu.h:117: no method `wxMenuItem::New'
C:/Tools/Dev-Cpp/include/wx/menu.h: In member function `void
wxMenuBase::Insert(unsigned int, int, const wxString&, wxMenu*, const
wxString&)':
C:/Tools/Dev-Cpp/include/wx/menu.h:127: no method `wxMenuItem::New'
C:/Tools/Dev-Cpp/include/wx/menu.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/menu.h:298: base class `wxWindow' has incomplete
type
C:/Tools/Dev-Cpp/include/wx/menu.h: In member function `virtual bool
wxMenuBarBase::Enable(bool)':
C:/Tools/Dev-Cpp/include/wx/menu.h:377: no method `wxWindow::Enable'
C:/Tools/Dev-Cpp/include/wx/menu.h: In member function `virtual void
wxMenuBarBase::SetLabel(const wxString&)':
C:/Tools/Dev-Cpp/include/wx/menu.h:378: no method `wxWindow::SetLabel'
C:/Tools/Dev-Cpp/include/wx/menu.h: In member function `virtual wxString
wxMenuBarBase::GetLabel() const':
C:/Tools/Dev-Cpp/include/wx/menu.h:379: no method `wxWindow::GetLabel'
In file included from C:/Tools/Dev-Cpp/include/wx/wx.h:45,
from main.cpp:5:
C:/Tools/Dev-Cpp/include/wx/timer.h: At global scope:
C:/Tools/Dev-Cpp/include/wx/timer.h:133: parse error before `&' token
C:/Tools/Dev-Cpp/include/wx/timer.h:133: missing ';' before right brace
C:/Tools/Dev-Cpp/include/wx/timer.h:134: `wxTimer' was not declared in this
scope
C:/Tools/Dev-Cpp/include/wx/timer.h:134: `timer' was not declared in this scope
C:/Tools/Dev-Cpp/include/wx/timer.h:134: parse error before `,' token
C:/Tools/Dev-Cpp/include/wx/timer.h:135: ISO C++ forbids defining types within
return type
C:/Tools/Dev-Cpp/include/wx/timer.h:135: semicolon missing after declaration of
`class wxTimerRunner'
C:/Tools/Dev-Cpp/include/wx/timer.h: In function `int wxTimerRunner(...)':
C:/Tools/Dev-Cpp/include/wx/timer.h:135: `timer' undeclared (first use this
function)
C:/Tools/Dev-Cpp/include/wx/timer.h:136: only constructors take base
initializers
C:/Tools/Dev-Cpp/include/wx/timer.h:136: confused by earlier errors, bailing out
make.exe: *** [main.o] Error 1
Execution terminated
gruss
/Christian mailto:ca...@kr...
--
I propose that the following character sequence for joke markers:
:-)
19-Sep-82 11:44 Scott E Fahlman
|
|
From: Nicholas O. R. <exc...@mi...> - 2004-03-01 23:08:36
|
Adding the command "-fmessage-length=0" when calling the compiler (under compiler options) forces Dev-C++ to display the entire error message... or at least it does on my version (4.9.8.7). Nicholas |
|
From: Per W. <pw...@ia...> - 2004-03-01 13:40:55
|
Templates seem to be a good way of generated miserably long and uncomprehensible error messages :-) /Per W On Mon, 1 Mar 2004, Mats Lidstrom wrote: > I've got 4.9.8.7, but I'm having some problems forcing errors with long > error messages to test it :) I'll keep my eyes open for them and report what > I see. > > /M > > From: "Per Westermark" <pw...@ia...> > > I haven't tested myself, but Colin Laplace mailed on Feb 4th that 4.9.8.7 > > had improved error message parsing. > > > > /Per W > > > > On Mon, 1 Mar 2004, Mats Lidstrom wrote: > > > > > The "Compile Log" tab is the raw output of the compilation. I've noticed > too > > > that lines can be broken in the "Compiler" tab, but hopefully it will > get > > > fixed soon. > > > > > > /M > > > > > > From: "Siva Chandra" <siv...@ya...> > > > > > > > > hello, > > > > > > > > the error messages generated by Dev-C++ are displayed > > > > incompletely. where can I see the complete error > > > > message and even warning messages? > > > > > > > > > > > > ------------------------------------------------------- > > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > > > Build and deploy apps & Web services for Linux with > > > a free DVD software kit from IBM. Click Now! > > > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > > > _______________________________________________ > > > Dev-cpp-users mailing list > > > Dev...@li... > > > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > > > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Mats L. <mat...@to...> - 2004-03-01 13:32:33
|
I've got 4.9.8.7, but I'm having some problems forcing errors with long error messages to test it :) I'll keep my eyes open for them and report what I see. /M From: "Per Westermark" <pw...@ia...> > I haven't tested myself, but Colin Laplace mailed on Feb 4th that 4.9.8.7 > had improved error message parsing. > > /Per W > > On Mon, 1 Mar 2004, Mats Lidstrom wrote: > > > The "Compile Log" tab is the raw output of the compilation. I've noticed too > > that lines can be broken in the "Compiler" tab, but hopefully it will get > > fixed soon. > > > > /M > > > > From: "Siva Chandra" <siv...@ya...> > > > > > > hello, > > > > > > the error messages generated by Dev-C++ are displayed > > > incompletely. where can I see the complete error > > > message and even warning messages? > > > > > > > > ------------------------------------------------------- > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > > Build and deploy apps & Web services for Linux with > > a free DVD software kit from IBM. Click Now! > > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > > _______________________________________________ > > Dev-cpp-users mailing list > > Dev...@li... > > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > |
|
From: Per W. <pw...@ia...> - 2004-03-01 13:04:43
|
I haven't tested myself, but Colin Laplace mailed on Feb 4th that 4.9.8.7 had improved error message parsing. /Per W On Mon, 1 Mar 2004, Mats Lidstrom wrote: > The "Compile Log" tab is the raw output of the compilation. I've noticed too > that lines can be broken in the "Compiler" tab, but hopefully it will get > fixed soon. > > /M > > From: "Siva Chandra" <siv...@ya...> > > > > hello, > > > > the error messages generated by Dev-C++ are displayed > > incompletely. where can I see the complete error > > message and even warning messages? > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Mats L. <mat...@to...> - 2004-03-01 12:48:45
|
The "Compile Log" tab is the raw output of the compilation. I've noticed too that lines can be broken in the "Compiler" tab, but hopefully it will get fixed soon. /M From: "Siva Chandra" <siv...@ya...> > > hello, > > the error messages generated by Dev-C++ are displayed > incompletely. where can I see the complete error > message and even warning messages? |
|
From: Siva C. <siv...@ya...> - 2004-03-01 07:47:58
|
hello, the error messages generated by Dev-C++ are displayed incompletely. where can I see the complete error message and even warning messages? TIA, ===== Siva Chandra B-Tech, Electrical Engineering, IIT Madras. Currently pursuing MS by research at IIIT, Hyderabad visit www.geocities.com/sivachandra_br __________________________________ Do you Yahoo!? Get better spam protection with Yahoo! Mail. http://antispam.yahoo.com/tools |
|
From: Per W. <pw...@ia...> - 2004-02-29 22:16:09
|
Since C and C++ does call by value, change_int will get a COPY of the
original pointer. This is fine if you want to change the value that the
pointer points to. However, with a COPY of the pointer, you can't allocate
a new pointer within change_int, and expect it to survive back to the
caller. In this case you are released the memory that the original
"number" pointer had allocated, but you don't change "number" to point to
the newly allocated block.
In C, you should use double indirection, i.e. pointer to pointer as can be
seen in my changes below.
Note that your change_int() has an incorrect name since it doesn't change
an int, but instead reallocates an int.
/Per W
On Sun, 29 Feb 2004, Vinicius wrote:
> Hello,
>
> The output of the code below is:
> number = 10
> number = 0 (or other number except 15)
>
> Why the output of the second 'number' is not 15? Why the 'number' address is
> not changed?
>
> Thanks in advance, Vinicius.
>
>
> #include <stdio.h>
> #include <stdlib.h>
>
> void change_int(int *num);
void change_int(int** num);
>
> int main(void)
> {
> int *number;
>
> number = (int *) malloc(sizeof(int));
> *number = 10;
> printf("number = %d\n", *number);
change_int(&number);
> change_int(number);
> printf("number = %d\n", *number);
>
> free(number);
> system("PAUSE");
> return 0;
> }
>
> void change_int(int *num)
void change_int(int** num)
> {
> int *temp;
int **temp;
>
> temp = num;
temp = *num;
> num = (int *) malloc(sizeof(int));
*num = (int*)malloc(sizeof(int));
> *num = 15;
**num = 15;
> free(temp);
> }
>
>
>
>
> -------------------------------------------------------
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
|
|
From: Vinicius <cvi...@uo...> - 2004-02-29 22:07:31
|
Hello,
The output of the code below is:
number = 10
number = 0 (or other number except 15)
Why the output of the second 'number' is not 15? Why the 'number' address is
not changed?
Thanks in advance, Vinicius.
#include <stdio.h>
#include <stdlib.h>
void change_int(int *num);
int main(void)
{
int *number;
number = (int *) malloc(sizeof(int));
*number = 10;
printf("number = %d\n", *number);
change_int(number);
printf("number = %d\n", *number);
free(number);
system("PAUSE");
return 0;
}
void change_int(int *num)
{
int *temp;
temp = num;
num = (int *) malloc(sizeof(int));
*num = 15;
free(temp);
}
|
|
From: <or...@vp...> - 2004-02-29 15:47:33
|
Emiliano wrote: >>Sure, just compile the static version of the library, and recompile >th= e >>exe. The symbols will be linked in. >=20 > Please explain me what to do exactly. If I have understood, I need to p= ut > into my project the source files of the library too? I thought it was e= nough > to put into the linker parameters the ".a/.lib" file... No, you don't need to put the sources into the project. Actually, that=20 should never be done. You need to get the sources of the library, that you wish to use (in=20 this case jpeglib?). Then compile the static version of the library. How=20 to do that? Well, it depends heavily on the library that you're using.=20 Look around in the docs of the library to see how to compile the static=20 version of it. It will get you a libxxx.a file, where possibly xxx is=20 the name of the library. Then place it to a place, where GCC (Dev-C++)=20 can find it (maybe <DEVCPP>\lib), then add -lxxx to your project librarie= s. The symbols will be "hard-linked" into the exe from the lib. -- Greetings, Bal=E1zs |
|
From: Per W. <pw...@ia...> - 2004-02-29 15:28:33
|
I need blueprints to some of my machines but I don't know how to create them. Help! Hmm. Such a question doesn't contain enough information to be possible to answer. What definitions? Yours? Standard functions supplied with the compiler? 3rd-party libraries? Please never send a one-liner question unless you are really, really sure that one line is enough to make people know what you want, and how to help you! /Per W On Sun, 29 Feb 2004, Onet wrote: > i need headers to some definitions but i dont know how to create them help! |
|
From: Onet <ver...@po...> - 2004-02-29 15:22:33
|
i need headers to some definitions but i dont know how to create them = help! |
|
From: Mohammed I. <mi...@ac...> - 2004-02-29 14:26:42
|
From this site you can download many books in PDF format that requires Acrobat Reader 5.0 at least. ftp:194.85.35.67 anonymous login. Mohammed |