Hi,
we have to use stlport here, but With a code like this:
void DoSomething(int english_version)
{
// make no use of english_version
}
I get this compiler output:
e:\GeFr\Work\cobf_1.04\XWallsQuellen\xcwsystem.cpp (1451) : warning
C4100: 'english_version': Unreferenzierter formaler Parameter
e:\GeFr\Classes\Modules\Qt\23\stlport-4.6\stlport\stdexcept(149):
Siehe Verweis auf Instanziierung der kompilierten Klassenvorlage
'_STL::basic_string<_CharT,_Traits,_Alloc>'
with
[
_CharT=char,
_Traits=_STL::char_traits<char>,
_Alloc=_STL::allocator<char>
]
e:\GeFr\Classes\Modules\Qt\23\stlport-4.6\stlport\stdexcept(149):
Siehe Verweis auf Instanziierung der kompilierten Klassenvorlage
'_STL::basic_string<_CharT,_Traits,_Alloc>'
with
[
_CharT=char,
_Traits=_STL::char_traits<char>,
_Alloc=_STL::allocator<char>
]
e:\GeFr\Classes\Modules\Qt\23\stlport-4.6\stlport\stdexcept(149):
Siehe Verweis auf Instanziierung der kompilierten Klassenvorlage
'_STL::basic_string<_CharT,_Traits,_Alloc>'
with
[
_CharT=char,
_Traits=_STL::char_traits<char>,
_Alloc=_STL::allocator<char>
]
e:\GeFr\Classes\Modules\Qt\23\stlport-4.6\stlport\stdexcept(149):
Siehe Verweis auf Instanziierung der kompilierten Klassenvorlage
'_STL::basic_string<_CharT,_Traits,_Alloc>'
with
[
_CharT=char,
_Traits=_STL::char_traits<char>,
_Alloc=_STL::allocator<char>
]
I use VC++7.1. BTW: Can I make the compiler errors english somehow??
--
-Gernot
int main(int argc, char** argv) {printf
("%silto%c%cf%cgl%ssic%ccom%c", "ma", 58, 'g', 64, "ba", 46, 10);} 7 1883
"Gernot Frisch" <Me@Privacy.net> wrote in message
news:40*************@individual.net Hi,
we have to use stlport here, but With a code like this: void DoSomething(int english_version) { // make no use of english_version }
I get this compiler output:
e:\GeFr\Work\cobf_1.04\XWallsQuellen\xcwsystem.cpp (1451) : warning C4100: 'english_version': Unreferenzierter formaler Parameter
I don't know anything about stlport, but is it possible for you to eliminate
the parameter from the function signature, i.e., define the function as
void DoSomething(int)
{
// make no use of english_version
}
I think this might stop the warnings.
--
John Carson
"John Carson" <jc****************@netspace.net.au> schrieb im
Newsbeitrag news:do**********@otis.netspace.net.au... "Gernot Frisch" <Me@Privacy.net> wrote in message news:40*************@individual.net Hi,
we have to use stlport here, but With a code like this: void DoSomething(int english_version) { // make no use of english_version }
I get this compiler output:
e:\GeFr\Work\cobf_1.04\XWallsQuellen\xcwsystem.cpp (1451) : warning C4100: 'english_version': Unreferenzierter formaler Parameter
I don't know anything about stlport, but is it possible for you to eliminate the parameter from the function signature, i.e., define the function as
void DoSomething(int) { // make no use of english_version }
I think this might stop the warnings.
Yes, but I don't mind the warning, I mind the loooong stuff after the
warning. The template stuff.
"Gernot Frisch" <Me@Privacy.net> wrote in message
news:40*************@individual.net "John Carson" <jc****************@netspace.net.au> schrieb im Newsbeitrag news:do**********@otis.netspace.net.au... "Gernot Frisch" <Me@Privacy.net> wrote in message news:40*************@individual.net Hi,
we have to use stlport here, but With a code like this: void DoSomething(int english_version) { // make no use of english_version }
I get this compiler output:
e:\GeFr\Work\cobf_1.04\XWallsQuellen\xcwsystem.cpp (1451) : warning C4100: 'english_version': Unreferenzierter formaler Parameter
I don't know anything about stlport, but is it possible for you to eliminate the parameter from the function signature, i.e., define the function as
void DoSomething(int) { // make no use of english_version }
I think this might stop the warnings.
Yes, but I don't mind the warning, I mind the loooong stuff after the warning. The template stuff.
I was assuming that the one was causing the other. I don't read German or
Dutch (if that is what it is), so I don't know what the compiler is
complaining about.
--
John Carson
"Gernot Frisch" <Me@Privacy.net> wrote in message
news:40*************@individual.net... Hi,
we have to use stlport here, but With a code like this: void DoSomething(int english_version) { // make no use of english_version }
I get this compiler output:
e:\GeFr\Work\cobf_1.04\XWallsQuellen\xcwsystem.cpp (1451) : warning C4100: 'english_version': Unreferenzierter formaler Parameter
e:\GeFr\Classes\Modules\Qt\23\stlport-4.6\stlport\stdexcept(149): Siehe Verweis auf Instanziierung der kompilierten Klassenvorlage '_STL::basic_string<_CharT,_Traits,_Alloc>' with [ _CharT=char, _Traits=_STL::char_traits<char>, _Alloc=_STL::allocator<char> ] e:\GeFr\Classes\Modules\Qt\23\stlport-4.6\stlport\stdexcept(149): Siehe Verweis auf Instanziierung der kompilierten Klassenvorlage '_STL::basic_string<_CharT,_Traits,_Alloc>' with [ _CharT=char, _Traits=_STL::char_traits<char>, _Alloc=_STL::allocator<char> ] e:\GeFr\Classes\Modules\Qt\23\stlport-4.6\stlport\stdexcept(149): Siehe Verweis auf Instanziierung der kompilierten Klassenvorlage '_STL::basic_string<_CharT,_Traits,_Alloc>' with [ _CharT=char, _Traits=_STL::char_traits<char>, _Alloc=_STL::allocator<char> ] e:\GeFr\Classes\Modules\Qt\23\stlport-4.6\stlport\stdexcept(149): Siehe Verweis auf Instanziierung der kompilierten Klassenvorlage '_STL::basic_string<_CharT,_Traits,_Alloc>' with [ _CharT=char, _Traits=_STL::char_traits<char>, _Alloc=_STL::allocator<char> ]
I use VC++7.1. BTW: Can I make the compiler errors english somehow??
You're obviously using a german version of VC++ but probably there is a
switch for the original messages. Anyway, you should ask that question
better in MS specific newsgroup. Regarding the warning itself, where is the
problem?
Cheers
Chris
Gernot Frisch wrote: Hi,
we have to use stlport here, but With a code like this: void DoSomething(int english_version) { // make no use of english_version }
I get this compiler output:
e:\GeFr\Work\cobf_1.04\XWallsQuellen\xcwsystem.cpp (1451) : warning C4100: 'english_version': Unreferenzierter formaler Parameter
e:\GeFr\Classes\Modules\Qt\23\stlport-4.6\stlport\stdexcept(149): Siehe Verweis auf Instanziierung der kompilierten Klassenvorlage '_STL::basic_string<_CharT,_Traits,_Alloc>' with [ _CharT=char, _Traits=_STL::char_traits<char>, _Alloc=_STL::allocator<char> ] e:\GeFr\Classes\Modules\Qt\23\stlport-4.6\stlport\stdexcept(149): Siehe Verweis auf Instanziierung der kompilierten Klassenvorlage '_STL::basic_string<_CharT,_Traits,_Alloc>' with [ _CharT=char, _Traits=_STL::char_traits<char>, _Alloc=_STL::allocator<char> ] e:\GeFr\Classes\Modules\Qt\23\stlport-4.6\stlport\stdexcept(149): Siehe Verweis auf Instanziierung der kompilierten Klassenvorlage '_STL::basic_string<_CharT,_Traits,_Alloc>' with [ _CharT=char, _Traits=_STL::char_traits<char>, _Alloc=_STL::allocator<char> ] e:\GeFr\Classes\Modules\Qt\23\stlport-4.6\stlport\stdexcept(149): Siehe Verweis auf Instanziierung der kompilierten Klassenvorlage '_STL::basic_string<_CharT,_Traits,_Alloc>' with [ _CharT=char, _Traits=_STL::char_traits<char>, _Alloc=_STL::allocator<char> ]
I use VC++7.1. BTW: Can I make the compiler errors english somehow??
Try STLFilt.
Ben Pope
--
I'm not just a number. To many, I'm known as a string... I was assuming that the one was causing the other. I don't read German or Dutch (if that is what it is), so I don't know what the compiler is complaining about.
Right you are. But the error that follows has absolutely nothing to do
with an unreferenced variable. it's so stupid!
I though this problem is known (stlport), so I just gave it a try.
Gernot Frisch wrote: Hi,
we have to use stlport here, but With a code like this: void DoSomething(int english_version) { // make no use of english_version }
I get this compiler output:
e:\GeFr\Work\cobf_1.04\XWallsQuellen\xcwsystem.cpp (1451) : warning C4100: 'english_version': Unreferenzierter formaler Parameter
e:\GeFr\Classes\Modules\Qt\23\stlport-4.6\stlport\stdexcept(149): Siehe Verweis auf Instanziierung der kompilierten Klassenvorlage '_STL::basic_string<_CharT,_Traits,_Alloc>' with [ _CharT=char, _Traits=_STL::char_traits<char>, _Alloc=_STL::allocator<char> ] e:\GeFr\Classes\Modules\Qt\23\stlport-4.6\stlport\stdexcept(149): Siehe Verweis auf Instanziierung der kompilierten Klassenvorlage '_STL::basic_string<_CharT,_Traits,_Alloc>' with [ _CharT=char, _Traits=_STL::char_traits<char>, _Alloc=_STL::allocator<char> ] e:\GeFr\Classes\Modules\Qt\23\stlport-4.6\stlport\stdexcept(149): Siehe Verweis auf Instanziierung der kompilierten Klassenvorlage '_STL::basic_string<_CharT,_Traits,_Alloc>' with [ _CharT=char, _Traits=_STL::char_traits<char>, _Alloc=_STL::allocator<char> ] [...]
Isn't it that the case of "warning: unreferenced formal parameter ..."
trying to instantiate this, and this, and this, and that, and that...?
STLfilt might help make the stl part more readable.
You could also turn the particular compiler warning off
or try
english_version = english_version;
inside your DoSomething() to shut the compiler up.
HTH,
- J. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Gary |
last post by:
I am trying to compile the STLPORT 4.5.3 using g++ 3.3 compiler on sun. I
have modified the stl_gcc.h file to point to the correct include path for
the compiler.
I am getting the following errors:...
|
by: Icosahedron |
last post by:
I'm sure it's been done. I'm sure that I'm an idiot for
even asking the question, but has anyone been successful in
getting Comeau 4.3.0.1 to compile STLPort, or even use
STLPort in a program...
|
by: pervinder |
last post by:
Hi,
When i link a C++ test app with stlport, it throws some errors on AIX
like
Linking ../../output/AIX_32/bin/test
"/hm/test/stlport/stl/_fstream.h", line 30.11: 1540-0836 (S) The
#include...
|
by: programmer_pete |
last post by:
I am trying to switch to STLPort 4.6.2 from the MSVC STL.
My project uses Spirit 1.6.0 and MSVC++ 6.
I have configured STLPort as follows:
#define _STLP_NO_OWN_IOSTREAMS 1
#define...
|
by: Boris |
last post by:
Hi,
I'm using STLport-4.5.3 with Visual C++ 6.0 on Windows XP. It seems, the
module built requires MSVCP60.DLL - which (mostly) contains Streams
implementation by Microsoft. So, STLport falls...
| |
by: PangFromChina |
last post by:
Platform:window 2000 professional, VC++6.0 +SP5
STLport: STLport 5.0.2
While test STLport following "STLport README for Microsoft Visual C++
compilers." of README.msvc(readme.txt), there is a...
|
by: Artur Bac |
last post by:
I got a problem with eVc4 i STLPort and i dont known why
c:\stlport-5.0.2\stlport\stl\_construct.h(115) : error C2665: 'new' :
none of
the 2 overloads can convert parameter 2 from type 'struct...
|
by: francois.cppdevs |
last post by:
Hi C++ supporters
I just wanted to let you know that STLport 5.1.0 has been released,
it is available here:
https://sourceforge.net/projects/stlport/
Since 5.0 this library implements some...
|
by: Aman JIANG |
last post by:
vc8 + STLport 5.1.3:
cout << fixed << numeric_limits<double>::max();
It result a runtime error.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |