[Compiler Bug] Uncomprehenssible error - Intel C++ C++

[Compiler Bug] Uncomprehenssible error - Intel C++ C++

Portrait de chkone

Hello,

I think I find a compiler error. I don't find a minimal reproduction step but my error is:
Compiler Version: Intel® C++ XE 2013 Update 5 Version 13.0.1211.11 

Error 2 error : 0_46083 F:\Projets\ABC\Graphics\" Graphics (Intel C++ 13.0)

To activate I just define a define unused in my code:

#define EMV_DEFAULT_FORMAT_TO_FORMAT( X ) GraphicsAPI::Format( GraphicsAPI::g_pTextureFormatDefaultFormat[ Core::Tools::EnumToU32( X ) ] )

During this compilation:

1> dx11Device.cpp
1> ..\Kernel/Kernel.h(
1> ..\Math/Vector2.h(
1> ..\Math/Vector2.h(
1> ..\Math/Vector2.h(
1> ..\Math/Vector2.h(
1> ..\Core/String/StringTool.inl(
1> ..\Core/String/StringTool.inl(
1> ..\Core/String/StringTool.inl(
1> ..\Graphics/Camera/TrackBallCameraDriver.hpp(
1> Platforms\DirectX11\dx11Device.cpp(
1> Platforms\DirectX11\dx11Device.cpp(
1> Platforms\DirectX11\dx11Device.cpp(
1> dx11Format.cpp
1> ..\Kernel/Kernel.h(
1>" : error : 0_46083

If I comment this define I get other errors like:

Error 2 error : access violation F:\Projets\EMV\Graphics\Platforms\DirectX11\dx11Format.h 13 Graphics (Intel C++ 13.0)

In the code:

1> dx11Device.cpp
1> ..\Kernel/Kernel.h(
1> ..\Math/Vector2.h(
1> ..\Math/Vector2.h(
1> ..\Math/Vector2.h(
1> ..\Math/Vector2.h(
1> ..\Core/String/StringTool.inl(
1> ..\Core/String/StringTool.inl(
1> ..\Core/String/StringTool.inl(
1> ..\Graphics/Camera/TrackBallCameraDriver.hpp(
1> Platforms\DirectX11\dx11Device.cpp(
1> Platforms\DirectX11\dx11Device.cpp(
1> Platforms\DirectX11\dx11Device.cpp(
1> dx11Format.cpp
1> ..\Kernel/Kernel.h(
1>..\Graphics/Platforms/DirectX11/dx11Format.h(13): error : access violation
1> class Format : public Graphics::FormatBase
1> ^
1>
1>
1>Build FAILED.

This error have no mean for me.

Some one have already meet this error, a workaround exist?

Thanks

4 posts / 0 nouveau(x)
Dernière contribution
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.
Portrait de chkone

Other information:

When I compile each file one by one, all is fine, but this errors (compiler bug?) occurs only when build the solution.

Thanks

Portrait de chkone

Useful information:
When I compile each *.cpp files one by one on the project after I link my the project that work without any issue!
But when I compile the project I get "no sense" error like:
error : access violation
error : 0_46083
...

I don't use the beta version, Intel® C++ XE 2013 Update 5 Version 13.0.1211.11, supposed stable...
Thanks for your future support. 

Portrait de chkone

Bug fixed with the Intel C++ 14...

Connectez-vous pour laisser un commentaire.