Solved

Borland C++ 5.0 and readonly src files

Posted on 1997-03-26
6
294 Views
Last Modified: 2010-04-10
In the Borland IDE the compiler says it can't open my source files.  This occurs when they reside in readonly form, which is part of a configuration control system.  Why would the compiler need anything but read access to the source files?  By the way, if I double click on a source file in the project window it brings it up fine in the editor!  Is this a bug?  Is there a way to work around this?
0
Comment
Question by:cdyoung
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
6 Comments
 

Author Comment

by:cdyoung
ID: 1162476
Adjusted points to 100
0
 
LVL 1

Expert Comment

by:white wolf
ID: 1162477
I think you found a neat bug...
Why don't you email the Borland guys and take
credit for the find!

0
 

Author Comment

by:cdyoung
ID: 1162478
Thanks for the suggestion, white wolf.  I have already reported this to Borland.  I don't really care about credit, I just want it to work!
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:cdyoung
ID: 1162479
Adjusted points to 200
0
 

Accepted Solution

by:
markusk earned 200 total points
ID: 1162480
I'm using Borland C++ 5.01 and I tried to reproduce the error.

- I marked my source files (*.cpp) as readonly
- I opened them and compiled them without any error message

You should apply all patches available under "http://www.borland.com/devsupport/borlandcpp/patches.html", or upgrade to BC 5.01.
0
 

Author Comment

by:cdyoung
ID: 1162481
Thanks for the suggestion markusk, but I am using BC 5.01.  I should have mentioned this.  I should also have mentioned that the readonly files are on a unix server that I am accessing like a local drive via NT.  Perhaps BC++ is having a problem with this networked drive and it is not a readonly problem at all.  I will check into this and get back with you.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question