dev-cpp-users Mailing List for Dev-C++
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
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
1
|
2
|
3
(3) |
4
|
5
(2) |
|
6
|
7
|
8
|
9
|
10
|
11
(4) |
12
|
|
13
(1) |
14
|
15
|
16
|
17
(2) |
18
(3) |
19
(5) |
|
20
|
21
|
22
|
23
|
24
|
25
|
26
|
|
27
|
28
|
29
|
30
(1) |
|
|
|
|
From: Rafael O. L. <raf...@gm...> - 2009-09-03 15:33:40
|
Hyia Hugo. This kind of error is common if you don't have set the Include and Library files path (normaly, when you install the DEV-C++ without MinGW) First of all, you must set up the correct path of the Include and Library files in compiler options. To have a better view of it, try to install he standard DEV-C++ with MinGW, open it, go to "Compiler Options", "Directories", "C++ Includes". You'll shall see in the box something like: X:\Dev-Cpp\lib\gcc\mingw32\3.4.2\include X:\Dev-Cpp\include\c++\3.4.2\backward X:\Dev-Cpp\include\c++\3.4.2\mingw32 X:\Dev-Cpp\include\c++\3.4.2\ X:\Dev-Cpp\include change the paths to the new 4.4.0 might be like: X:\Dev-Cpp\lib\gcc\mingw32\4.4.0\include X:\Dev-Cpp\include\c++\4.4.0\backward X:\Dev-Cpp\include\c++\4.4.0\mingw32 X:\Dev-Cpp\include\c++\4.4.0\ X:\Dev-Cpp\include And, as Per answear says, the other lines is because the recursive inclusion of files. If you look inside the iostream header, you'll see ohter include files that apears in the erros. Change de C++ includes will make de Dev-Cpp look at the correct libraries and includes. 2009/9/3 <dev...@li...> > Send Dev-cpp-users mailing list submissions to > dev...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > or, via email, send a message with subject or body 'help' to > dev...@li... > > You can reach the person managing the list at > dev...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Dev-cpp-users digest..." > > > Today's Topics: > > 1. Problems with DEV-C++ version 4.9.9.2 and MinGW compiler > version GNU 4.4.0. (Hugo Barona) > 2. Re: Problems with DEV-C++ version 4.9.9.2 and MinGW compiler > version GNU 4.4.0. (Per Westermark) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 2 Sep 2009 17:05:31 -0700 (PDT) > From: Hugo Barona <hb...@ya...> > Subject: [Dev-C++] Problems with DEV-C++ version 4.9.9.2 and MinGW > compiler version GNU 4.4.0. > To: dev...@li... > Message-ID: <235...@we...> > Content-Type: text/plain; charset="iso-8859-1" > > I am working with DEV-C++ version 4.9.9.2 and MinGW compiler version GNU > 4.4.0. > I downloaded the following files: > binutils-2.19.1-mingw32-bin.tar.gz > w32api-3.13-mingw32-dev.tar.gz > mingwrt-3.16-mingw32-dev.tar.gz > mingwrt-3.16-mingw32-dll.tar.gz > gmp-4.2.4-mingw32-dll.tar.gz > libiconv-1.13-mingw32-dll-2.tar.gz > mpfr-2.4.1-mingw32-dll.tar.gz > pthreads-w32-2.8.0-mingw32-dll.tar.gz > gcc-core-4.4.0-mingw32-bin.tar.gz > gcc-core-4.4.0-mingw32-dll.tar.gz > gcc-c++-4.4.0-mingw32-bin.tar.gz > gcc-c++-4.4.0-mingw32-dll.tar.gz > mingw32-make-3.81-20080326-3.tar.gz > > And I installed the decompressed files into Dev-C++ directory to have a C++ > enviroment > > To test the enviroment and the compiler, maker and linker, I run the > following source code that was write in a file with name: > > No_Bytes.cpp: > > #include <iostream> > > using namespace std; > > int main() > { > return 0; > } > Only 10 lines of source code > > And the compiler gave me the following messages: > > Compilador: GNU 4.4.0 > Building Makefile: "C:\Dev-C++\Makefile.win" > Ejecutando (executing) make... > mingw32-make -f "C:\Dev-C++\Makefile.win" all > g++.exe -c No_Bytes.cpp -o No_Bytes.o -ansi -traditional-cpp > -fexceptions -fmessage-length=0In file included from > > e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/bits/postypes.h:42, > from > e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/iosfwd:42, > from > e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/ios:39, > from > e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/ostream:40, > from > e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/iostream:40, > from No_Bytes.cpp:2: > e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:159: error: > '::swprintf' has not been declared > e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:166: error: > '::vswprintf' has not been declaredmingw32-make: *** > > [No_Bytes.o] Error 1Ejecuci?n Terminada (execution ended) > > The compiler gave me other messages: > line= 42 > file: e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\bits\postypes.h:42, from > e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\iosfwd > Message: In file included from > e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/bits/postypes.h:42, from > > e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/iosfwd > > line= 39 > file: > file: e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\iosfwd:42, from > e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\ios > Message: from > e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/iosfwd:42, from > > e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/ios > > line= 40 > file: e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\ios:39, from > e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\ostream > > message: from e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/ios:39, > from > > e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/ostream > > line= 40 > file: e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\ostream:40, from > e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\iostream > Message: from > e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/ostream:40, from > > e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/iostream > > line= 2 > file: e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\iostream:40, from > No_Bytes.cpp > Message: from > e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/iostream:40, from > No_Bytes.cpp > > line= 2 > file: C:\Dev-C++\No_Bytes.cpp > Message: from No_Bytes.cpp > > line= 159 > file: e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\cwchar ' > Message: ::swprintf' has not been declared > > > line= 166 > file: e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\cwchar ' > Message: ::vswprintf' has not been declared > > line= 166 > file: e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\cwchar > Message: *** [No_Bytes.o] Error 1 > > Like I told you, the original source code file only has 10 lines, BUT THE > COMPILER TELL ME SOMETHING ABOU LINES: 42,39, 40,2 > > 159, AND 166. What it means? > > There is only one error, ...but I do not know why the compiler talks about > functions not declared (swprintf and vswprintf. Are > > they C functions? Who call it and why? > > Hugo Barona Becerra Becerra Cabal Lemus Soto Mosquera de la Penilla > > > > > ____________________________________________________________________________________ > ?Obt?n la mejor experiencia en la web! > Descarga gratis el nuevo Internet Explorer 8. > http://downloads.yahoo.com/ieak8/?l=e1 > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 2 > Date: Thu, 3 Sep 2009 07:59:41 +0200 (CEST) > From: Per Westermark <pw...@ia...> > Subject: Re: [Dev-C++] Problems with DEV-C++ version 4.9.9.2 and MinGW > compiler version GNU 4.4.0. > To: Hugo Barona <hb...@ya...> > Cc: dev...@li... > Message-ID: <Pin...@ia...> > Content-Type: TEXT/PLAIN; charset=ISO-8859-1 > > Seems to be a problem with the MinGW installation. If your MinGW > installation doesn't allow you to build your source from the command line, > then the Dev-C++ IDE will also have problems. > > That your source code file only has 10 lines is irrelevant. If you look > closer at the error messages, they not only mention line numbers, but also > the corresponding source file. The recursively included files most > definitely have more than 10 lines... > > /pwm > > On Wed, 2 Sep 2009, Hugo Barona wrote: > > > I am working with DEV-C++ version 4.9.9.2 and MinGW compiler version GNU > 4.4.0. > > I downloaded the following files: > > binutils-2.19.1-mingw32-bin.tar.gz > > w32api-3.13-mingw32-dev.tar.gz > > mingwrt-3.16-mingw32-dev.tar.gz > > mingwrt-3.16-mingw32-dll.tar.gz > > gmp-4.2.4-mingw32-dll.tar.gz > > libiconv-1.13-mingw32-dll-2.tar.gz > > mpfr-2.4.1-mingw32-dll.tar.gz > > pthreads-w32-2.8.0-mingw32-dll.tar.gz > > gcc-core-4.4.0-mingw32-bin.tar.gz > > gcc-core-4.4.0-mingw32-dll.tar.gz > > gcc-c++-4.4.0-mingw32-bin.tar.gz > > gcc-c++-4.4.0-mingw32-dll.tar.gz > > mingw32-make-3.81-20080326-3.tar.gz > > > > And I installed the decompressed files into Dev-C++ directory to have a > C++ enviroment > > > > To test the enviroment and the compiler, maker and linker, I run the > following source code that was write in a file with name: > > > > No_Bytes.cpp: > > > > #include <iostream> > > > > using namespace std; > > > > int main() > > { > > return 0; > > } > > Only 10 lines of source code > > > > And the compiler gave me the following messages: > > > > Compilador: GNU 4.4.0 > > Building Makefile: "C:\Dev-C++\Makefile.win" > > Ejecutando (executing) make... > > mingw32-make -f "C:\Dev-C++\Makefile.win" all > > g++.exe -c No_Bytes.cpp -o No_Bytes.o -ansi -traditional-cpp > -fexceptions -fmessage-length=0In file included from > > > > e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/bits/postypes.h:42, > > from > e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/iosfwd:42, > > from > e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/ios:39, > > from > e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/ostream:40, > > from > e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/iostream:40, > > from No_Bytes.cpp:2: > > e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:159: error: > '::swprintf' has not been declared > > e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:166: error: > '::vswprintf' has not been declaredmingw32-make: *** > > > > [No_Bytes.o] Error 1Ejecuci?n Terminada (execution ended) > > > > The compiler gave me other messages: > > line= 42 > > file: e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\bits\postypes.h:42, > from e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\iosfwd > > Message: In file included from > e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/bits/postypes.h:42, from > > > > e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/iosfwd > > > > line= 39 > > file: > > file: e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\iosfwd:42, from > e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\ios > > Message: from > e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/iosfwd:42, from > > > > e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/ios > > > > line= 40 > > file: e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\ios:39, from > e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\ostream > > > > message: from e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/ios:39, > from > > > > e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/ostream > > > > line= 40 > > file: e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\ostream:40, from > e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\iostream > > Message: from > e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/ostream:40, from > > > > e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/iostream > > > > line= 2 > > file: e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\iostream:40, from > No_Bytes.cpp > > Message: from > e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/iostream:40, from > No_Bytes.cpp > > > > line= 2 > > file: C:\Dev-C++\No_Bytes.cpp > > Message: from No_Bytes.cpp > > > > line= 159 > > file: e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\cwchar ' > > Message: ::swprintf' has not been declared > > > > > > line= 166 > > file: e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\cwchar ' > > Message: ::vswprintf' has not been declared > > > > line= 166 > > file: e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\cwchar > > Message: *** [No_Bytes.o] Error 1 > > > > Like I told you, the original source code file only has 10 lines, BUT THE > COMPILER TELL ME SOMETHING ABOU LINES: 42,39, 40,2 > > > > 159, AND 166. What it means? > > > > There is only one error, ...but I do not know why the compiler talks > about functions not declared (swprintf and vswprintf. Are > > > > they C functions? Who call it and why? > > > > Hugo Barona Becerra Becerra Cabal Lemus Soto Mosquera de la Penilla > > > > > > > > > ____________________________________________________________________________________ > > ?Obt?n la mejor experiencia en la web! > > Descarga gratis el nuevo Internet Explorer 8. > > http://downloads.yahoo.com/ieak8/?l=e1 > > > > > ------------------------------ > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > ------------------------------ > > _______________________________________________ > 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 > > > End of Dev-cpp-users Digest, Vol 40, Issue 1 > ******************************************** > -- Rafael Oliveira de Lima Programador e Depurador Assembly em Arquiteturas RISC Microchip 8 bits (eca!). (famílias PIC12*, PIC14*, PIC16* e PIC18*). |
|
From: Per W. <pw...@ia...> - 2009-09-03 05:59:59
|
Seems to be a problem with the MinGW installation. If your MinGW
installation doesn't allow you to build your source from the command line,
then the Dev-C++ IDE will also have problems.
That your source code file only has 10 lines is irrelevant. If you look
closer at the error messages, they not only mention line numbers, but also
the corresponding source file. The recursively included files most
definitely have more than 10 lines...
/pwm
On Wed, 2 Sep 2009, Hugo Barona wrote:
> I am working with DEV-C++ version 4.9.9.2 and MinGW compiler version GNU 4.4.0.
> I downloaded the following files:
> binutils-2.19.1-mingw32-bin.tar.gz
> w32api-3.13-mingw32-dev.tar.gz
> mingwrt-3.16-mingw32-dev.tar.gz
> mingwrt-3.16-mingw32-dll.tar.gz
> gmp-4.2.4-mingw32-dll.tar.gz
> libiconv-1.13-mingw32-dll-2.tar.gz
> mpfr-2.4.1-mingw32-dll.tar.gz
> pthreads-w32-2.8.0-mingw32-dll.tar.gz
> gcc-core-4.4.0-mingw32-bin.tar.gz
> gcc-core-4.4.0-mingw32-dll.tar.gz
> gcc-c++-4.4.0-mingw32-bin.tar.gz
> gcc-c++-4.4.0-mingw32-dll.tar.gz
> mingw32-make-3.81-20080326-3.tar.gz
>
> And I installed the decompressed files into Dev-C++ directory to have a C++ enviroment
>
> To test the enviroment and the compiler, maker and linker, I run the following source code that was write in a file with name:
>
> No_Bytes.cpp:
>
> #include <iostream>
>
> using namespace std;
>
> int main()
> {
> return 0;
> }
> Only 10 lines of source code
>
> And the compiler gave me the following messages:
>
> Compilador: GNU 4.4.0
> Building Makefile: "C:\Dev-C++\Makefile.win"
> Ejecutando (executing) make...
> mingw32-make -f "C:\Dev-C++\Makefile.win" all
> g++.exe -c No_Bytes.cpp -o No_Bytes.o -ansi -traditional-cpp -fexceptions -fmessage-length=0In file included from
>
> e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/bits/postypes.h:42,
> from e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/iosfwd:42,
> from e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/ios:39,
> from e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/ostream:40,
> from e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/iostream:40,
> from No_Bytes.cpp:2:
> e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:159: error: '::swprintf' has not been declared
> e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:166: error: '::vswprintf' has not been declaredmingw32-make: ***
>
> [No_Bytes.o] Error 1Ejecución Terminada (execution ended)
>
> The compiler gave me other messages:
> line= 42
> file: e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\bits\postypes.h:42, from e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\iosfwd
> Message: In file included from e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/bits/postypes.h:42, from
>
> e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/iosfwd
>
> line= 39
> file:
> file: e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\iosfwd:42, from e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\ios
> Message: from e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/iosfwd:42, from
>
> e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/ios
>
> line= 40
> file: e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\ios:39, from e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\ostream
>
> message: from e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/ios:39, from
>
> e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/ostream
>
> line= 40
> file: e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\ostream:40, from e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\iostream
> Message: from e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/ostream:40, from
>
> e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/iostream
>
> line= 2
> file: e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\iostream:40, from No_Bytes.cpp
> Message: from e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/iostream:40, from No_Bytes.cpp
>
> line= 2
> file: C:\Dev-C++\No_Bytes.cpp
> Message: from No_Bytes.cpp
>
> line= 159
> file: e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\cwchar '
> Message: ::swprintf' has not been declared
>
>
> line= 166
> file: e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\cwchar '
> Message: ::vswprintf' has not been declared
>
> line= 166
> file: e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\cwchar
> Message: *** [No_Bytes.o] Error 1
>
> Like I told you, the original source code file only has 10 lines, BUT THE COMPILER TELL ME SOMETHING ABOU LINES: 42,39, 40,2
>
> 159, AND 166. What it means?
>
> There is only one error, ...but I do not know why the compiler talks about functions not declared (swprintf and vswprintf. Are
>
> they C functions? Who call it and why?
>
> Hugo Barona Becerra Becerra Cabal Lemus Soto Mosquera de la Penilla
>
>
>
> ____________________________________________________________________________________
> ¡Obtén la mejor experiencia en la web!
> Descarga gratis el nuevo Internet Explorer 8.
> http://downloads.yahoo.com/ieak8/?l=e1
|
|
From: Hugo B. <hb...@ya...> - 2009-09-03 00:05:44
|
I am working with DEV-C++ version 4.9.9.2 and MinGW compiler version GNU 4.4.0.
I downloaded the following files:
binutils-2.19.1-mingw32-bin.tar.gz
w32api-3.13-mingw32-dev.tar.gz
mingwrt-3.16-mingw32-dev.tar.gz
mingwrt-3.16-mingw32-dll.tar.gz
gmp-4.2.4-mingw32-dll.tar.gz
libiconv-1.13-mingw32-dll-2.tar.gz
mpfr-2.4.1-mingw32-dll.tar.gz
pthreads-w32-2.8.0-mingw32-dll.tar.gz
gcc-core-4.4.0-mingw32-bin.tar.gz
gcc-core-4.4.0-mingw32-dll.tar.gz
gcc-c++-4.4.0-mingw32-bin.tar.gz
gcc-c++-4.4.0-mingw32-dll.tar.gz
mingw32-make-3.81-20080326-3.tar.gz
And I installed the decompressed files into Dev-C++ directory to have a C++ enviroment
To test the enviroment and the compiler, maker and linker, I run the following source code that was write in a file with name:
No_Bytes.cpp:
#include <iostream>
using namespace std;
int main()
{
return 0;
}
Only 10 lines of source code
And the compiler gave me the following messages:
Compilador: GNU 4.4.0
Building Makefile: "C:\Dev-C++\Makefile.win"
Ejecutando (executing) make...
mingw32-make -f "C:\Dev-C++\Makefile.win" all
g++.exe -c No_Bytes.cpp -o No_Bytes.o -ansi -traditional-cpp -fexceptions -fmessage-length=0In file included from
e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/bits/postypes.h:42,
from e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/iosfwd:42,
from e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/ios:39,
from e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/ostream:40,
from e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/iostream:40,
from No_Bytes.cpp:2:
e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:159: error: '::swprintf' has not been declared
e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/cwchar:166: error: '::vswprintf' has not been declaredmingw32-make: ***
[No_Bytes.o] Error 1Ejecución Terminada (execution ended)
The compiler gave me other messages:
line= 42
file: e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\bits\postypes.h:42, from e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\iosfwd
Message: In file included from e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/bits/postypes.h:42, from
e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/iosfwd
line= 39
file:
file: e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\iosfwd:42, from e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\ios
Message: from e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/iosfwd:42, from
e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/ios
line= 40
file: e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\ios:39, from e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\ostream
message: from e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/ios:39, from
e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/ostream
line= 40
file: e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\ostream:40, from e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\iostream
Message: from e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/ostream:40, from
e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/iostream
line= 2
file: e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\iostream:40, from No_Bytes.cpp
Message: from e:\dev-cpp\bin\../lib/gcc/mingw32/4.4.0/include/c++/iostream:40, from No_Bytes.cpp
line= 2
file: C:\Dev-C++\No_Bytes.cpp
Message: from No_Bytes.cpp
line= 159
file: e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\cwchar '
Message: ::swprintf' has not been declared
line= 166
file: e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\cwchar '
Message: ::vswprintf' has not been declared
line= 166
file: e:\dev-cpp\lib\gcc\mingw32\4.4.0\include\c++\cwchar
Message: *** [No_Bytes.o] Error 1
Like I told you, the original source code file only has 10 lines, BUT THE COMPILER TELL ME SOMETHING ABOU LINES: 42,39, 40,2
159, AND 166. What it means?
There is only one error, ...but I do not know why the compiler talks about functions not declared (swprintf and vswprintf. Are
they C functions? Who call it and why?
Hugo Barona Becerra Becerra Cabal Lemus Soto Mosquera de la Penilla
____________________________________________________________________________________
¡Obtén la mejor experiencia en la web!
Descarga gratis el nuevo Internet Explorer 8.
http://downloads.yahoo.com/ieak8/?l=e1 |