473,466 Members | 1,661 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Template parms in compiler error msgs

Compiler errors in template code (or function calls to template code) expand
the template parameters. This is proving to be obnoxious for me (hard to
get down to the second error).

Can I turn it off?
Nov 17 '05 #1
3 1043
No! And it's truly annoying. What's the error? Might be able to help.

Steve

"Rudy Ray Moore" <ru*******@hotmail.com> wrote in message
news:eZ**************@TK2MSFTNGP12.phx.gbl...
Compiler errors in template code (or function calls to template code) expand the template parameters. This is proving to be obnoxious for me (hard to
get down to the second error).

Can I turn it off?

Nov 17 '05 #2

Thanks Steve,

In this particular case, the error was easy to identify and fix. My problem
is that it was difficult for me to get to the next error due to all the
verbose descriptions in the output window. Had to keep scrolling... and
scrolling... and scrolling...

or "pressing F4... and pressing F4... and pressing F4"

Rudy

"Steve McLellan" <sjm.NOSPAM AT fixerlabs DOT com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
No! And it's truly annoying. What's the error? Might be able to help.

Steve

"Rudy Ray Moore" <ru*******@hotmail.com> wrote in message
news:eZ**************@TK2MSFTNGP12.phx.gbl...
Compiler errors in template code (or function calls to template code)

expand
the template parameters. This is proving to be obnoxious for me (hard to get down to the second error).

Can I turn it off?


Nov 17 '05 #3
On Mon, 5 Apr 2004 17:36:36 -0700, "Rudy Ray Moore"
<ru*******@hotmail.com> wrote:

Thanks Steve,

In this particular case, the error was easy to identify and fix. My problem
is that it was difficult for me to get to the next error due to all the
verbose descriptions in the output window. Had to keep scrolling... and
scrolling... and scrolling...

or "pressing F4... and pressing F4... and pressing F4"


For STL related errors, STLfilt improves matters:

http://www.bdsoft.com/tools/stlfilt.html

Otherwise, you just need to develop filtering eyesight. In principle
you could parse and filter the errors to remove the template parameter
lists, or perhaps reduce them. I nice tree view error widget where you
could expand and collapse errors and template parameters parameters
would be quite useful I think.

Tom
--
C++ FAQ: http://www.parashift.com/c++-faq-lite/
C FAQ: http://www.eskimo.com/~scs/C-faq/top.html
Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
by: Paul MG | last post by:
Hi Template partial specialization always seems like a fairly straightforward concept - until I try to do it :). I am trying to implement the input sequence type (from Stroustrup section...
6
by: Ben Ingram | last post by:
Hi all, I am writing a template matrix class in which the template parameters are the number of rows and number of columns. There are a number of reasons why this is an appropriate tradeoff for...
3
by: Sven Groot | last post by:
This was posted by someone in comp.lang.c++, and later in microsoft.public.vstudio.general, but since I know Carl is in this group, and he's the one that should read this, I've reposted it here....
2
by: Rudy Ray Moore | last post by:
Whenever I get any error with Vc++7.1/.net/2003, it is followed by huge ammounts of "template assistance" error messaging referencing template code (MTL) that has nothing to do with the error. ...
5
by: dilip ranganathan | last post by:
Hi I have taken the liberty to cross-post this. It appeared on c.l.c++.m but the ICE is regarding VS.NET 7.1 C++ compiler. post follows: ==============================================...
5
by: chrisstankevitz | last post by:
Hi, Q1: Is there a way to make a template function that works only for specific types which produces a compiler error if used with an invalid type? Q2: If not, how do people deal with this...
9
by: Mike | last post by:
Hi, Just a simple question: why the compiler doesn't report error when accessing a private member function inside a function having template type ? For example: #include<iostream> using...
4
by: Jim Langston | last post by:
This should illistrate what I am trying to do: template <class T> T SomeFunction( T parm ) { return parm; } template <class T> class SomeClass
6
by: Lawrence Spector | last post by:
I ran into a problem using g++. Visual Studio 2005 never complained about this, but with g++ I ran into this error. I can't figure out if I've done something wrong or if this is a compiler bug. ...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
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,...
0
Oralloy
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
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...
0
tracyyun
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...
0
agi2029
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
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 using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.