Anonymous | Login | Signup for a new account | 2024-11-21 21:27 MSK |
Main | My View | View Issues | Change Log | Roadmap | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||
0000633 | [ALGLIB] General | major | always | 2014-11-25 12:48 | 2014-12-04 12:34 | ||
Reporter | PeterZajac | View Status | public | ||||
Assigned To | SergeyB | ||||||
Priority | normal | Resolution | fixed | ||||
Status | resolved | Product Version | 3.8.1 | ||||
Summary | 0000633: FIXED: wrong 32/64 bit integer typedefs for MSVC compiler | ||||||
Description |
The integer typedefs for the Microsoft Visual C++ compiler located in lines 159 and 174 of "ap.h" are using deprecated type names. The typedefs use the "_int32" and "_int64" types (prefixed with a single underscore), which are only defined when compiling with Microsoft C++ Language extensions enabled (which is the default). Disabling these extensions explicitly by supplying the "/Za" compiler option leads to the following errors: ap.h(159): error C2146: syntax error : missing ';' before identifier 'ae_int32_t' ap.h(159): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int ap.h(174): error C2146: syntax error : missing ';' before identifier 'ae_int64_t' ap.h(174): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int This problem can be resolved easily by replacing the (single-underscore) "_int32"/"_int64" type names by the (double-underscore) "__int32"/"__int64" types, resp., see: http://msdn.microsoft.com/en-us/library/29dh1w7z.aspx |
||||||
Additional Information | |||||||
Programming language | C++ | ||||||
Attached Files | |||||||
|
There are no notes attached to this issue. |
Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |