Visual C++ fails if project is on network drive

I'm using Visual C++ .NET 2003 on Windows 2000. If my project is on a network drive (hosted by a Samba server), then the build fails in several strange ways. Sometimes, the compiler complains it cannot open a temporary file. Today, the compiler gave me INTERNAL COMPILER ERROR.

I don't care if the solution is to change something in the Windows/MSVC environment or on the Samba server; I'll just need a solution.
LVL 2
astrandAsked:
Who is Participating?
 
moduloCommented:
PAQed with points refunded (300)

modulo
Community Support Moderator
0
 
astrandAuthor Commented:
I've found the solution myself: I need to disable Precompiled Headers (/YX). Btw, Microsoft seems to think that compiling code over a network share shouldn't work: See

http://groups.google.com/groups?hl=en&lr=lang_en&ie=UTF-8&oe=UTF-8&selm=umBJLvIYDHA.2632%40TK2MSFTNGP09.phx.gbl
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.