- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Maybe a compiler problem ? I compiled my project with the intel compiler Version 12.0.1029.2010 and the newest IPP Version. When i set in release mode Full Optimization (/Ox) i got an exception ..\\audio-video-codecs\\codec\\mpeg2_enc\\src\\umc_mpeg2_enc_params.cpp function
line 170. So i changed the declaration to
and now it works fine. I think it's always better todeclare the params as const vm_char*.
Can you reproduce this effect ? Maybe it's possible to change the declaration in the next release,
regards
Detlef
Status
MPEG2EncoderParams::ReadQMatrices(vm_char* IntraQMatrixFName, vm_char* NonIntraQMatrixFName)line 170. So i changed the declaration to
Status
MPEG2EncoderParams::ReadQMatrices(const vm_char* IntraQMatrixFName, const vm_char* NonIntraQMatrixFName)and now it works fine. I think it's always better todeclare the params as const vm_char*.
Can you reproduce this effect ? Maybe it's possible to change the declaration in the next release,
regards
Detlef
링크가 복사됨
1 응답
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hi Detlef,
The post were moved to Intel Compiler forum.
http://software.intel.com/en-us/forums/showthread.php?t=83678
Where mecej4 suggested,
run the program with a tool such as valgrind or the Intel Inspector. If this does not locate the bugs, you will need to create and post a small but complete program that exhibits the same problems as your large application.
Regards,
Ying
The post were moved to Intel Compiler forum.
http://software.intel.com/en-us/forums/showthread.php?t=83678
Where mecej4 suggested,
run the program with a tool such as valgrind or the Intel Inspector. If this does not locate the bugs, you will need to create and post a small but complete program that exhibits the same problems as your large application.
Regards,
Ying