This forum has been archived. All content is frozen. Please use KDE Discuss instead.

How to locate the position that cause MIXED_TYPE error

Tags: None
(comma "," separated)
cyunlau
Registered Member
Posts
2
Karma
0
I'm using Eigen to deal with some problems in a huge project.
But when I build the project, a error comes up says:
YOU_MIXED_DIFFERENT_NUMERIC_TYPES
But the error information doesn't tell which line cause this error, and the project is too large, I can hardly find that position.
Is there any way to find the position causing the problem and debug this error?
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS
You can easily find it by looking at the compiler error message. All compilers outputs the call-stack that triggered any error and warnings.
cyunlau
Registered Member
Posts
2
Karma
0
ggael wrote:You can easily find it by looking at the compiler error message. All compilers outputs the call-stack that triggered any error and warnings.

Sorry, I couldn't find how to show call stack trace for compiler error in Visual Studio 2013. In VS's error list window, only a error message says "YOU_MIXED_DIFFERENT_NUMERIC_TYPES ... " shows without any other information.
Do you have any idea to deal with it in Visual Studio?
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]