Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failed when compliling with -we4715 #101

Open
GoogleCodeExporter opened this issue May 23, 2015 · 0 comments
Open

Build failed when compliling with -we4715 #101

GoogleCodeExporter opened this issue May 23, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Set CL environment variable to
CL=-we4700 -we4715 -we4716 -we4002 -we4351 -we4805 -we4288 -we4553 /MP /Oy- 
/d2Zi+ /link /NXCOMPAT
2. compile library

What is the expected output? What do you see instead?
Compilation fails:
 cl -c -nologo -Zm200 -Zc:wchar_t -FS -ZI -MDd -D_HAS_EXCEPTIONS=0 -GR -W3 -w34100 -w34189 /Fddebug\poly2tri.pdb
 -DUNICODE -DWIN32 -DQT_NO_EXCEPTIONS -I"e:/work/s-keeper/5.1/extsdk\openssl\include" -I"E:\Work\s-keeper\5.1\extsdk\qt\5
 .4.0\qtbase\mkspecs\win32-msvc2013" -Fo.obj\debug\ @C:\Users\a-bataev\AppData\Local\Temp\nm9E87.tmp
 shapes.cpp
 e:\work\s-keeper\5.1\extsdk\qt\5.4.0\qtlocation\src\3rdparty\poly2tri\common\shapes.cpp(163) : error C4715: 'p2t::Triang
 le::Index' : not all control paths return a value
 e:\work\s-keeper\5.1\extsdk\qt\5.4.0\qtlocation\src\3rdparty\poly2tri\common\shapes.cpp(222) : error C4715: 'p2t::Triang
 le::PointCW' : not all control paths return a value
 e:\work\s-keeper\5.1\extsdk\qt\5.4.0\qtlocation\src\3rdparty\poly2tri\common\shapes.cpp(235) : error C4715: 'p2t::Triang
 le::PointCCW' : not all control paths return a value
 NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\cl.EXE"' : return code '0x2'
 Stop.

What version of the product are you using? On what operating system?
Qt 5.4.0, MSVS2013, Win8.1

Please provide any additional information below.
https://bugreports.qt-project.org/browse/QTBUG-43568

Original issue reported on code.google.com by [email protected] on 28 Dec 2014 at 12:06

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant