 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
David Perkins Guest
|
Posted: Tue Aug 10, 2004 2:43 pm Post subject: W8058 errors on default function args |
|
|
I've picked up an old project after not working on it for ~6 months and
it's giving me W8058 errors (Cannot create pre-compiled header:
initialized data in header) on default function vars, eg.
DoStuff( int i=0 );
I have the relevant project settings selected to use PCH and everyone of
my cpp files starts with:
#include <vcl.h>
#include "pch.h"
#pragma hdrstop
There's a fair few files in the project and not using PCH inreases the
build time massively.
I had a similar problem to this a while back and found that it was
linked to some initialised data in math.hpp which caused W8058 errors in
my default functions args. This project does not use math.hpp.
Any ideas?
Thanks
David
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|