Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

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

chkone
Beginner
541 Views

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

0 Kudos
3 Replies
chkone
Beginner
541 Views

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

0 Kudos
chkone
Beginner
541 Views

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. 

0 Kudos
chkone
Beginner
541 Views

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

0 Kudos
Reply