Solved

Borland C++ 5.0 and readonly src files

Posted on 1997-03-26
6
259 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
  • 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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 

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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
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.

747 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now