* fix lost declaration and missing includes after blenlib cleanup.
* bump warning level to W3 for Debug in a few libraries for MSVC9 projectfiles. Others will follow.
This commit is contained in:
Andrea Weikert 2008-12-20 12:43:53 +00:00
parent 851f437361
commit cc80111b2b
10 changed files with 15 additions and 11 deletions

@ -4,6 +4,7 @@
Version="9,00"
Name="BL_avi"
ProjectGUID="{9A307EE5-CD77-47BC-BD87-62508C7E19D8}"
RootNamespace="BL_avi"
TargetFrameworkVersion="131072"
>
<Platforms>
@ -127,7 +128,7 @@
AssemblerListingLocation="..\..\..\..\build\msvc_9\source\blender\avi\debug\"
ObjectFile="..\..\..\..\build\msvc_9\source\blender\avi\debug\"
ProgramDataBaseFileName="..\..\..\..\build\msvc_9\source\blender\avi\debug\"
WarningLevel="2"
WarningLevel="3"
SuppressStartupBanner="true"
DebugInformationFormat="3"
CompileAs="0"

@ -128,7 +128,7 @@
AssemblerListingLocation="..\..\..\..\build\msvc_9\source\blender\blenkernel\debug\"
ObjectFile="..\..\..\..\build\msvc_9\source\blender\blenkernel\debug\"
ProgramDataBaseFileName="..\..\..\..\build\msvc_9\source\blender\blenkernel\debug\"
WarningLevel="2"
WarningLevel="3"
SuppressStartupBanner="true"
DebugInformationFormat="3"
CompileAs="0"

@ -130,7 +130,7 @@
AssemblerListingLocation="..\..\..\..\build\msvc_9\source\blender\blenlib\debug\"
ObjectFile="..\..\..\..\build\msvc_9\source\blender\blenlib\debug\"
ProgramDataBaseFileName="..\..\..\..\build\msvc_9\source\blender\blenlib\debug\"
WarningLevel="2"
WarningLevel="4"
SuppressStartupBanner="true"
DebugInformationFormat="3"
CompileAs="0"

@ -438,10 +438,6 @@
<Filter
Name="util"
>
<File
RelativePath="..\..\..\source\blender\editors\util\ed_markers.c"
>
</File>
<File
RelativePath="..\..\..\source\blender\editors\util\ed_util.c"
>

@ -128,7 +128,7 @@
AssemblerListingLocation="..\..\..\..\build\msvc_9\source\blender\gpu\debug\"
ObjectFile="..\..\..\..\build\msvc_9\source\blender\gpu\debug\"
ProgramDataBaseFileName="..\..\..\..\build\msvc_9\source\blender\gpu\debug\"
WarningLevel="2"
WarningLevel="3"
SuppressStartupBanner="true"
DebugInformationFormat="3"
CompileAs="0"

@ -4,6 +4,7 @@
Version="9,00"
Name="BL_imbuf"
ProjectGUID="{415BFD6E-64CF-422B-AF88-C07F040A7292}"
RootNamespace="BL_imbuf"
TargetFrameworkVersion="131072"
>
<Platforms>
@ -52,7 +53,7 @@
AssemblerListingLocation="..\..\..\..\build\msvc_9\source\blender\imbuf\debug\"
ObjectFile="..\..\..\..\build\msvc_9\source\blender\imbuf\debug\"
ProgramDataBaseFileName="..\..\..\..\build\msvc_9\source\blender\imbuf\debug\"
WarningLevel="2"
WarningLevel="3"
SuppressStartupBanner="true"
DebugInformationFormat="3"
CompileAs="0"

@ -53,7 +53,7 @@
AssemblerListingLocation="..\..\..\..\build\msvc_9\source\blender\loader\debug\"
ObjectFile="..\..\..\..\build\msvc_9\source\blender\loader\debug\"
ProgramDataBaseFileName="..\..\..\..\build\msvc_9\source\blender\loader\debug\"
WarningLevel="2"
WarningLevel="3"
SuppressStartupBanner="true"
DebugInformationFormat="3"
CompileAs="0"

@ -193,7 +193,7 @@
AssemblerListingLocation="..\..\..\..\build\msvc_9\source\blender\nodes\debug\"
ObjectFile="..\..\..\..\build\msvc_9\source\blender\nodes\debug\"
ProgramDataBaseFileName="..\..\..\..\build\msvc_9\source\blender\nodes\debug\"
WarningLevel="2"
WarningLevel="3"
Detect64BitPortabilityProblems="false"
DebugInformationFormat="3"
CompileAs="0"

@ -55,6 +55,9 @@ int BLI_stringdec(char *string, char *kop, char *start, unsigned short *numlen);
void BLI_stringenc(char *string, char *kop, char *start, unsigned short numlen, int pic);
void BLI_splitdirstring(char *di,char *fi);
/* make sure path separators conform to system one */
void BLI_clean(char *path);
/**
* dir can be any input, like from buttons, and this function
* converts it to a regular full path.

@ -36,9 +36,12 @@
#include <string.h>
#include <stdlib.h>
#include <stdarg.h>
#include <ctype.h>
#include "MEM_guardedalloc.h"
#include "BLI_string.h"
char *BLI_strdupn(const char *str, int len) {
char *n= MEM_mallocN(len+1, "strdup");
memcpy(n, str, len);