[TIMOB-26210] Windows: Compler warnings PRI249: 0xdef00520 - Invalid qualifier
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2018-09-20T09:45:43.000+0000 |
Affected Version/s | Release 7.4.0 |
Fix Version/s | Release 7.5.0 |
Components | Windows |
Labels | n/a |
Reporter | Kota Iguchi |
Assignee | Kota Iguchi |
Created | 2018-07-13T03:37:46.000+0000 |
Updated | 2018-09-21T12:38:26.000+0000 |
Description
Currently lots of compiler warnings being produced when building app, seems like it happens only on 7.4.0 master branch. Although it does not prevent app building we want to suppress compiler warnings whenever possible.
...
GENERATEPROJECTPRIFILE : warning PRI249: 0xdef00520 - Invalid qualifier: HAS-METADATA [.titanium\vsbuild\win10_classic\win10.x86\Win10Classic.vcxproj]
GENERATEPROJECTPRIFILE : warning PRI249: 0xdef00520 - Invalid qualifier: HAS-OWN-METADATA [.titanium\vsbuild\win10_classic\win10.x86\Win10Classic.vcxproj]
GENERATEPROJECTPRIFILE : warning PRI249: 0xdef00520 - Invalid qualifier: TO-JSON [.titanium\vsbuild\win10_classic\win10.x86\Win10Classic.vcxproj]
GENERATEPROJECTPRIFILE : warning PRI249: 0xdef00520 - Invalid qualifier: MATCH-ALL [.titanium\vsbuild\win10_classic\win10.x86\Win10Classic.vcxproj]
GENERATEPROJECTPRIFILE : warning PRI249: 0xdef00520 - Invalid qualifier: PAD-END [.titanium\vsbuild\win10_classic\win10.x86\Win10Classic.vcxproj]
GENERATEPROJECTPRIFILE : warning PRI249: 0xdef00520 - Invalid qualifier: PAD-START [.titanium\vsbuild\win10_classic\win10.x86\Win10Classic.vcxproj]
GENERATEPROJECTPRIFILE : warning PRI249: 0xdef00520 - Invalid qualifier: TRIM-LEFT [.titanium\vsbuild\win10_classic\win10.x86\Win10Classic.vcxproj]
GENERATEPROJECTPRIFILE : warning PRI249: 0xdef00520 - Invalid qualifier: TRIM-RIGHT [.titanium\vsbuild\win10_classic\win10.x86\Win10Classic.vcxproj]
GENERATEPROJECTPRIFILE : warning PRI249: 0xdef00520 - Invalid qualifier: ASYNC-ITERATOR [.titanium\vsbuild\win10_classic\win10.x86\Win10Classic.vcxproj]
378 Warning(s)
0 Error(s)
It turns out this happens only when ES6 transpile is set to
true
. The warning happens because Visual Studio incorrectly interpret some JavaScript files as i18 resources, just because it has minus sign (-
) in the middle of the file name! OMG :(https://github.com/appcelerator/titanium_mobile_windows/pull/1271
FR Passed. Waiting on master Jenkins build.
*Closing ticket*. Fix is present in SDK version:
7.5.0.v20180921031133
Test and other information can be found at: https://github.com/appcelerator/titanium_mobile_windows/pull/1271