Solved

Borland C++ 5.0 and readonly src files

Posted on 1997-03-26
6
289 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

732 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