|
|
|
Странная ошибка при компиляции проекта в VC6
|
|||
|---|---|---|---|
|
#18+
Нужно скопилировать проект, написанный другим человеком. Проект видимо написан на VC6. Скажите, пожалуйста, сталкивался ли кто с подобной ошибкой? d:\program files\microsoft visual studio\vc98\include\comutil.h(101) : fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 1786) Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information Error executing cl.exe. Archiver.exe - 1 error(s), 0 warning(s) ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 13.03.2007, 15:44 |
|
||
|
Странная ошибка при компиляции проекта в VC6
|
|||
|---|---|---|---|
|
#18+
OLEG_2005Нужно скопилировать проект, написанный другим человеком. Проект видимо написан на VC6. Скажите, пожалуйста, сталкивался ли кто с подобной ошибкой? d:\program files\microsoft visual studio\vc98\include\comutil.h(101) : fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 1786) Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information Error executing cl.exe. Archiver.exe - 1 error(s), 0 warning(s) Сие означает, что тебе посчастливилось наткнуться на глюк компилятора. Можешь попытаться выяснить, какой блок вызывает проблемы и переписать его... ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 13.03.2007, 15:51 |
|
||
|
Странная ошибка при компиляции проекта в VC6
|
|||
|---|---|---|---|
|
#18+
OLEG_2005 пишет: > Нужно скопилировать проект, написанный другим человеком. Проект видимо > написан на VC6. Скажите, пожалуйста, сталкивался ли кто с подобной ошибкой? > d:\program files\microsoft visual studio\vc98\include\comutil.h(101) : > fatal error C1001: INTERNAL COMPILER ERROR > (compiler file 'msc1.cpp', line 1786) > Please choose the Technical Support command on the Visual C++ > Help menu, or open the Technical Support help file for more information Да, я с такой ошибкой сталкивался. Posted via ActualForum NNTP Server 1.4 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 13.03.2007, 17:05 |
|
||
|
Странная ошибка при компиляции проекта в VC6
|
|||
|---|---|---|---|
|
#18+
Можно попытаться закомментировать блоки кода, и скомпилировать, чтобы выяснить, что вызывает ошибку. Когда я получил такой глюк, вопрос решил, разбив проблемное выражение на две части (вот только, хоть убей, не помню, что это было), и вставив между ними какое-то "левое" вычисление... Ещё вариант есть строчки переставлять и т.д.. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 13.03.2007, 17:56 |
|
||
|
Странная ошибка при компиляции проекта в VC6
|
|||
|---|---|---|---|
|
#18+
взято отсюда: support.microsoft.com/kb/259746/EN-US SYMPTOMS The following C1001 compiler error can occur when a virtual function is used as a parameter: test.cpp(18) : fatal error C1001: INTERNAL COMPILER ERROR ( compiler file ' msc1 . cpp ', line 1786 ) Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information CAUSE This is a bug in the compiler. STATUS Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This bug was corrected in the latest service pack for Visual Studio 6.0. MORE INFORMATION Following is sample code to reproduce the error: Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. Following are three workarounds: 1. Remove /GX (Enable exception handling) from compilation switches. 2. Explicitly define a copy constructor for TestClass. For example: Код: plaintext 1. 2. 3. Introduce a temp variable of type TestClass, as follows: Код: plaintext 1. 2. 3. 4. 5. 6. 7. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 13.03.2007, 18:26 |
|
||
|
Странная ошибка при компиляции проекта в VC6
|
|||
|---|---|---|---|
|
#18+
и вот еще: There can be many reasons for this error, but sometimes it is caused by using the flag /Gm (minimal rebuild). As this flag is not really necessary, it is a good idea to turn it off. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 13.03.2007, 18:33 |
|
||
|
|

start [/forum/topic.php?fid=57&fpage=304&tid=2029268]: |
0ms |
get settings: |
8ms |
get forum list: |
10ms |
check forum access: |
2ms |
check topic access: |
3ms |
track hit: |
54ms |
get topic data: |
11ms |
get forum data: |
3ms |
get page messages: |
48ms |
get tp. blocked users: |
1ms |
| others: | 211ms |
| total: | 351ms |

| 0 / 0 |
