View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002211 | FSSCP | Build system | public | 2010-05-25 00:46 | 2010-06-04 11:13 |
| Reporter | The_E | Assigned To | chief1983 | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 3.6.12 RC2 | ||||
| Summary | 0002211: Building release FRED fails on VS2010 | ||||
| Description | Guess I should start a ticket for this. Basically, when using VS2010 and its associated toolchain and SDK, it seems impossible to build regular FRED builds. It errors out with the following errors: 3>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\atlmfc\include\afxwin2.inl(362): error C2039: 'NotifyWinEvent' : is not a member of '`global namespace'' 3>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\atlmfc\include\afxwin2.inl(362): error C2660: 'CWnd::NotifyWinEvent' : function does not take 4 arguments Going back to the v9 toolset (if you have VS2008 installed) fixes this, but that's not what I'd like to call an elegant solution. | ||||
| Tags | No tags attached. | ||||
|
|
Oh, I should add that DEBUG FRED builds just fine. |
|
|
And just by a miracle, the solution appears. It seems that setting WINVER to 401 or whatever is bad for the VS2010 standard ATL/MFC includes. The whole thing needs at least WINVER=0x500 to compile correctly. |
|
|
But I assume that means it still compiles with VC6? Just not with the new SDK? |
|
|
A commit was made to change this only for VS2010 project files. Unfortunately, that may preclude VS2010 from making Win98 compatible FRED builds. Times are a'changin' ain't they? |
|
|
Well poo. I'm not too worried about this though because VC6 and VC2005 still work fine, and we'll eventually retire FRED in favor of wxFRED anyway, thus restoring compatibility. I noticed a commit on this subject in the log. Can this be resolved as fixed? |
|
|
Probably. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2010-05-25 00:46 | The_E | New Issue | |
| 2010-05-25 00:46 | The_E | Status | new => assigned |
| 2010-05-25 00:46 | The_E | Assigned To | => chief1983 |
| 2010-05-25 00:47 | The_E | Note Added: 0011998 | |
| 2010-05-25 00:58 | The_E | Note Added: 0011999 | |
| 2010-05-25 01:23 | iss_mneur | Note Added: 0012000 | |
| 2010-05-25 04:22 | chief1983 | Note Added: 0012001 | |
| 2010-06-04 05:48 | Goober5000 | Note Added: 0012039 | |
| 2010-06-04 05:48 | Goober5000 | Note Edited: 0012039 | |
| 2010-06-04 05:48 | Goober5000 | Note Edited: 0012039 | |
| 2010-06-04 11:13 | The_E | Note Added: 0012040 | |
| 2010-06-04 11:13 | The_E | Status | assigned => resolved |
| 2010-06-04 11:13 | The_E | Resolution | open => fixed |