Click here to Skip to main content
16,015,094 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Ranges of an unsigned _int64 Pin
cmk12-May-05 21:31
cmk12-May-05 21:31 
GeneralRe: Ranges of an unsigned _int64 Pin
fardak12-May-05 23:09
fardak12-May-05 23:09 
GeneralRe: Ranges of an unsigned _int64 Pin
PJ Arends13-May-05 9:45
professionalPJ Arends13-May-05 9:45 
GeneralRe: Ranges of an unsigned _int64 Pin
fardak13-May-05 21:39
fardak13-May-05 21:39 
GeneralRe: Ranges of an unsigned _int64 Pin
PJ Arends13-May-05 22:08
professionalPJ Arends13-May-05 22:08 
GeneralRe: Ranges of an unsigned _int64 Pin
fardak13-May-05 23:01
fardak13-May-05 23:01 
GeneralRe: Ranges of an unsigned _int64 Pin
PJ Arends14-May-05 8:03
professionalPJ Arends14-May-05 8:03 
GeneralRe: Ranges of an unsigned _int64 Pin
fardak14-May-05 20:16
fardak14-May-05 20:16 
I copied the template and class Limits and insert it (as is) in one of my header files of my code
(D:\myPrograms\myHexD\MyDTypeDlg.h)
,and the compiler displayed this list of warnings and errors.(By the way I am using VC++6.0).

warning C4003: not enough actual parameters for macro 'min'
D:\myPrograms\myHexD\MyDTypeDlg.h(17) : warning C4003: not enough actual parameters for macro 'max'
D:\myPrograms\myHexD\MyDTypeDlg.h(15) : error C2059: syntax error : 'function-style cast'
D:\myPrograms\myHexD\MyDTypeDlg.h(19) : see reference to class template instantiation 'Limits<t>' being compiled
D:\myPrograms\myHexD\MyDTypeDlg.h(15) : error C2334: unexpected token(s) preceding ':'; skipping apparent function body
D:\myPrograms\myHexD\MyDTypeDlg.h(19) : see reference to class template instantiation 'Limits<t>' being compiled
D:\myPrograms\myHexD\MyDTypeDlg.h(16) : error C2143: syntax error : missing ')' before '}'
D:\myPrograms\myHexD\MyDTypeDlg.h(19) : see reference to class template instantiation 'Limits<t>' being compiled
D:\myPrograms\myHexD\MyDTypeDlg.h(16) : error C2059: syntax error : ')'
D:\myPrograms\myHexD\MyDTypeDlg.h(19) : see reference to class template instantiation 'Limits<t>' being compiled
D:\myPrograms\myHexD\MyDTypeDlg.h(16) : error C2143: syntax error : missing ';' before '}'
D:\myPrograms\myHexD\MyDTypeDlg.h(19) : see reference to class template instantiation 'Limits<t>' being compiled
D:\myPrograms\myHexD\MyDTypeDlg.h(16) : error C2238: unexpected token(s) preceding ';'
D:\myPrograms\myHexD\MyDTypeDlg.h(19) : see reference to class template instantiation 'Limits<t>' being compiled
D:\myPrograms\myHexD\MyDTypeDlg.h(17) : error C2143: syntax error : missing ';' before 'static'
D:\myPrograms\myHexD\MyDTypeDlg.h(19) : see reference to class template instantiation 'Limits<t>' being compiled
myHexDDlg.cpp
D:\myPrograms\myHexD\MyDTypeDlg.h(15) : warning C4003: not enough actual parameters for macro 'min'
D:\myPrograms\myHexD\MyDTypeDlg.h(17) : warning C4003: not enough actual parameters for macro 'max'
D:\myPrograms\myHexD\MyDTypeDlg.h(15) : error C2059: syntax error : 'function-style cast'
D:\myPrograms\myHexD\MyDTypeDlg.h(19) : see reference to class template instantiation 'Limits<t>' being compiled
D:\myPrograms\myHexD\MyDTypeDlg.h(15) : error C2334: unexpected token(s) preceding ':'; skipping apparent function body
D:\myPrograms\myHexD\MyDTypeDlg.h(19) : see reference to class template instantiation 'Limits<t>' being compiled
D:\myPrograms\myHexD\MyDTypeDlg.h(16) : error C2143: syntax error : missing ')' before '}'
D:\myPrograms\myHexD\MyDTypeDlg.h(19) : see reference to class template instantiation 'Limits<t>' being compiled
D:\myPrograms\myHexD\MyDTypeDlg.h(16) : error C2059: syntax error : ')'
D:\myPrograms\myHexD\MyDTypeDlg.h(19) : see reference to class template instantiation 'Limits<t>' being compiled
D:\myPrograms\myHexD\MyDTypeDlg.h(16) : error C2143: syntax error : missing ';' before '}'
D:\myPrograms\myHexD\MyDTypeDlg.h(19) : see reference to class template instantiation 'Limits<t>' being compiled
D:\myPrograms\myHexD\MyDTypeDlg.h(16) : error C2238: unexpected token(s) preceding ';'
D:\myPrograms\myHexD\MyDTypeDlg.h(19) : see reference to class template instantiation 'Limits<t>' being compiled
D:\myPrograms\myHexD\MyDTypeDlg.h(17) : error C2143: syntax error : missing ';' before 'static'
D:\myPrograms\myHexD\MyDTypeDlg.h(19) : see reference to class template instantiation 'Limits<t>' being compiled

Thanks for any help.
GeneralRe: Ranges of an unsigned _int64 Pin
PJ Arends15-May-05 10:25
professionalPJ Arends15-May-05 10:25 
GeneralRe: Ranges of an unsigned _int64 Pin
fardak16-May-05 1:58
fardak16-May-05 1:58 
GeneralRe: Ranges of an unsigned _int64 Pin
fardak16-May-05 23:05
fardak16-May-05 23:05 
GeneralRe: Ranges of an unsigned _int64 Pin
PJ Arends17-May-05 6:49
professionalPJ Arends17-May-05 6:49 
GeneralRe: Ranges of an unsigned _int64 Pin
fardak17-May-05 21:47
fardak17-May-05 21:47 
QuestionQuery regarding recv() Winsock2? Pin
arrya_amit12-May-05 20:32
arrya_amit12-May-05 20:32 
AnswerRe: Query regarding recv() Winsock2? Pin
itkid13-May-05 1:59
itkid13-May-05 1:59 
GeneralRe: Query regarding recv() Winsock2? Pin
arrya_amit13-May-05 2:14
arrya_amit13-May-05 2:14 
GeneralVisual studio .NET hangs sometimes Pin
PrashantJ12-May-05 20:15
PrashantJ12-May-05 20:15 
GeneralRe: Visual studio .NET hangs sometimes Pin
ThatsAlok12-May-05 20:21
ThatsAlok12-May-05 20:21 
GeneralRe: Visual studio .NET hangs sometimes Pin
Priyank Bolia12-May-05 23:12
Priyank Bolia12-May-05 23:12 
QuestionText segmentation/detection....any idea for logic??? Pin
Bruce_Almighty12-May-05 18:32
Bruce_Almighty12-May-05 18:32 
AnswerRe: Text segmentation/detection....any idea for logic??? Pin
khan++12-May-05 21:09
khan++12-May-05 21:09 
QuestionHow can I compile Visual C++ 6.0 for run with Windows NT Server 3.51? Pin
otakung12-May-05 17:04
otakung12-May-05 17:04 
GeneralJust your comments... Pin
tom_dx12-May-05 15:38
tom_dx12-May-05 15:38 
GeneralRe: Just your comments... Pin
Priyank Bolia12-May-05 19:17
Priyank Bolia12-May-05 19:17 
GeneralRe: Just your comments... Pin
Bob Stanneveld12-May-05 22:33
Bob Stanneveld12-May-05 22:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.