- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi everyone,
What does Internal Compiler Warning #5271: Bad syntax mean?
Additional info: warning #5271: Internal Compiler Warning: Bad syntax, ':' is encountered before '=' while processing 'efaultlib:c:\libs\math.lib' and declaration is ignored
I'm using Intel Fortran Compiler on Windows and was trying to include libraries via Property Page. There are no errors while compiling project. I don't understand this warning message.
Thank you in advance!
コピーされたリンク
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
It appears maybe the command-line that is built wasn't understood by the compiler driver. Can you share more about what property settings you are changing and their values?
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hello Kevin,
while answering your question I found my error,
I was including math.lib twice: once for FORTRAN -> Command Line -> Additional Options: /DEFAULTLIB:"C:\libs\math.lib" and once for LINKER -> Command Line -> Additional Option: /DEFAULTLIB:"C:\libs\math.lib".
After this there are no warning messages at all.
Thank you for reply!
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Ah, great. Glad you resolved that and thank for sharing your finding. It does indeed throw that warning when added where you indicate.
