From 7ae633f8a997997524cded2d205d14eeb5f08051 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 2 Oct 2008 13:13:03 +0000 Subject: Updated on my laptop and discovered that the new, more pedantic gcc had a problem with a missing include. Also, if you get errors about conflicts and things being declared twice, then "rm src/exceptions.o" it shouldn't be sneaking in there still, but it may be. then do a full "build -c all" and build. Oh, also found some solid gold taf code that never got included, but is very much needed. Remembering to commit would be useful... --- src/file.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/file.h') diff --git a/src/file.h b/src/file.h index 40419b0..a50d53c 100644 --- a/src/file.h +++ b/src/file.h @@ -76,12 +76,7 @@ namespace Bu *@returns (Bu::File) A file object representing your temp file. */ #ifndef WIN32 - inline static Bu::File tempFile( Bu::FString &sName, int /*iFlags*/ ) - { - int afh_d = mkstemp( sName.getStr() ); - - return Bu::File( afh_d ); - } + static Bu::File tempFile( Bu::FString &sName, int iFlags ); /** * Set the size of the file to (nSize). You can either grow or shrink -- cgit v1.2.3