RSS Forums RSS
Please support our C++ advertiser: Programming Forums
Views: 2690 | Replies: 5
Reply
Join Date: Jul 2005
Posts: 3
Reputation: shakesahal is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
shakesahal shakesahal is offline Offline
Newbie Poster

Help Warning Error

  #1  
Jul 18th, 2005
I recieved a warning error as below

[C++ Warning] HMLP.cpp(4): W8058 Cannot create pre-compiled header: write failed

which was refer to the code below

#pragma hdrstop

After check with help file in Borland C++ Builder 6 the statement was as below

This warning is issued when pre-compiled headers are enabled but the compiler could not generate one, for one of the following reasons:

Reason Explanation

write failed: The compiler could not write to the pre-compiled header file. This is usually due to the disk being full.

which I don't have a problem regarding of disk being full.

Anyone have any idea to overcome the problem. Thank you


Shake
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Apr 2004
Posts: 3,763
Reputation: Dave Sinkula is a glorious beacon of light Dave Sinkula is a glorious beacon of light Dave Sinkula is a glorious beacon of light Dave Sinkula is a glorious beacon of light Dave Sinkula is a glorious beacon of light Dave Sinkula is a glorious beacon of light 
Rep Power: 17
Solved Threads: 147
Colleague
Dave Sinkula's Avatar
Dave Sinkula Dave Sinkula is offline Offline
long time no c

Re: Warning Error

  #2  
Jul 18th, 2005
Is the file read-only?
High Plains Blogger #plains #lounge ## I, for one, welcome our new socialist overlords.
"Capitalism is the unequal distribution of wealth. Socialism is the equal distribution of poverty."
Reply With Quote  
Join Date: Jul 2005
Posts: 3
Reputation: shakesahal is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
shakesahal shakesahal is offline Offline
Newbie Poster

Re: Warning Error

  #3  
Jul 18th, 2005
Sorry... what file read only? The code was written in Borland C++ Builder, where the warning error is occur after the code being compile
Reply With Quote  
Join Date: Apr 2004
Posts: 3,763
Reputation: Dave Sinkula is a glorious beacon of light Dave Sinkula is a glorious beacon of light Dave Sinkula is a glorious beacon of light Dave Sinkula is a glorious beacon of light Dave Sinkula is a glorious beacon of light Dave Sinkula is a glorious beacon of light 
Rep Power: 17
Solved Threads: 147
Colleague
Dave Sinkula's Avatar
Dave Sinkula Dave Sinkula is offline Offline
long time no c

Re: Warning Error

  #4  
Jul 18th, 2005
Originally Posted by shakesahal
Sorry... what file read only? The code was written in Borland C++ Builder, where the warning error is occur after the code being compile
The precompiled header that it's trying to create.
High Plains Blogger #plains #lounge ## I, for one, welcome our new socialist overlords.
"Capitalism is the unequal distribution of wealth. Socialism is the equal distribution of poverty."
Reply With Quote  
Join Date: Oct 2004
Posts: 2,546
Reputation: vegaseat will become famous soon enough vegaseat will become famous soon enough 
Rep Power: 11
Solved Threads: 178
Moderator
vegaseat's Avatar
vegaseat vegaseat is offline Offline
DaniWeb's Hypocrite

Solution Re: Warning Error

  #5  
Jul 19th, 2005
I remember from my Borland days that these precompiled header files are gigantic and exercise the disk drive well. They do accumulate with time. Maybe you are out of disk space?!
May 'the Google' be with you!
Reply With Quote  
Join Date: Jul 2005
Posts: 3
Reputation: shakesahal is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
shakesahal shakesahal is offline Offline
Newbie Poster

Re: Warning Error

  #6  
Jul 19th, 2005
I have 30GB free out of 40GB hard disk. So it was not the case of disk full. Even though the compiler error show that one of the reason is full disk. Anyone have any idea or suggestion
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 12:51 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC