瀏覽代碼

tau on windows

David Rose 19 年之前
父節點
當前提交
1eb1b26006

+ 2 - 2
dtool/pptempl/Template.gmsvc.pp

@@ -235,7 +235,7 @@ $[TAB] rm -f $[patsubst %.yxx,%.cxx %.h,$[yxx_st_sources]] $[patsubst %.lxx,%.cx
 $[TAB] rm -f *.pyc *.pyo // Also scrub out old generated Python code.
 $[TAB] rm -f *.pyc *.pyo // Also scrub out old generated Python code.
 #endif
 #endif
 #if $[USE_TAU]
 #if $[USE_TAU]
-$[TAB] rm -f *.il *.pdb *.inst.*  // scrub out tau-generated files.
+$[TAB] rm -f $[ODIR]/*.il $[ODIR]/*.pdb *.inst.*  // scrub out tau-generated files.
 #endif
 #endif
 
 
 // 'cleanall' is intended to undo all the effects of running ppremake
 // 'cleanall' is intended to undo all the effects of running ppremake
@@ -878,7 +878,7 @@ $[pdb_source] : $[il_source]
 $[TAB] $[TAU_MAKE_PDB]
 $[TAB] $[TAU_MAKE_PDB]
 
 
 $[inst_source] : $[pdb_source]
 $[inst_source] : $[pdb_source]
-$[TAB] $[TAU_MAKE_INST] -c++
+$[TAB] $[TAU_MAKE_INST] -c
 
 
 $[target] : $[inst_source] $[get_depends $[source]]
 $[target] : $[inst_source] $[get_depends $[source]]
 #define source $[inst_source]
 #define source $[inst_source]

+ 1 - 0
panda/src/display/standardMunger.cxx

@@ -21,6 +21,7 @@
 #include "graphicsStateGuardian.h"
 #include "graphicsStateGuardian.h"
 #include "dcast.h"
 #include "dcast.h"
 #include "config_gobj.h"
 #include "config_gobj.h"
+#include "displayRegion.h"
 
 
 TypeHandle StandardMunger::_type_handle;
 TypeHandle StandardMunger::_type_handle;
 
 

+ 5 - 0
panda/src/downloader/bioStreamBuf.cxx

@@ -23,6 +23,11 @@
 
 
 #ifdef HAVE_OPENSSL
 #ifdef HAVE_OPENSSL
 
 
+#ifdef WIN32_VC
+  #include <windows.h>  // for WSAGetLastError()
+  #undef X509_NAME
+#endif  // WIN32_VC
+
 #ifndef HAVE_STREAMSIZE
 #ifndef HAVE_STREAMSIZE
 // Some compilers (notably SGI) don't define this for us
 // Some compilers (notably SGI) don't define this for us
 typedef int streamsize;
 typedef int streamsize;

+ 2 - 2
panda/src/express/hashVal.I

@@ -213,7 +213,7 @@ read_stream(StreamReader &source) {
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 INLINE void HashVal::
 INLINE void HashVal::
 hash_ramfile(const Ramfile &ramfile) {
 hash_ramfile(const Ramfile &ramfile) {
-  return hash_buffer(ramfile._data.data(), ramfile._data.length());
+  hash_buffer(ramfile._data.data(), ramfile._data.length());
 }
 }
 
 
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
@@ -226,7 +226,7 @@ hash_ramfile(const Ramfile &ramfile) {
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 INLINE void HashVal::
 INLINE void HashVal::
 hash_string(const string &data) {
 hash_string(const string &data) {
-  return hash_buffer(data.data(), data.length());
+  hash_buffer(data.data(), data.length());
 }
 }
 #endif  // HAVE_OPENSSL
 #endif  // HAVE_OPENSSL
 
 

+ 1 - 1
panda/src/express/referenceCount.I

@@ -527,7 +527,7 @@ RefCountObj(const Base &copy) : Base(copy) {
 template<class Base>
 template<class Base>
 void RefCountObj<Base>::
 void RefCountObj<Base>::
 init_type() {
 init_type() {
-#ifdef HAVE_RTTI
+#if defined(HAVE_RTTI) && !defined(__EDG__)
   // If we have RTTI, we can determine the name of the base type.
   // If we have RTTI, we can determine the name of the base type.
   string base_name = typeid(Base).name();
   string base_name = typeid(Base).name();
 #else
 #else

+ 1 - 0
panda/src/express/windowsRegistry.cxx

@@ -18,6 +18,7 @@
 
 
 #include "windowsRegistry.h"
 #include "windowsRegistry.h"
 #include "config_express.h"
 #include "config_express.h"
+#include "textEncoder.h"
 
 
 #ifdef WIN32_VC
 #ifdef WIN32_VC
 
 

+ 3 - 3
panda/src/gobj/geom.I

@@ -281,9 +281,9 @@ calc_tight_bounds(LPoint3f &min_point, LPoint3f &max_point,
                   const GeomVertexData *vertex_data,
                   const GeomVertexData *vertex_data,
                   bool got_mat, const LMatrix4f &mat) const {
                   bool got_mat, const LMatrix4f &mat) const {
   int pipeline_stage = Thread::get_current_pipeline_stage();
   int pipeline_stage = Thread::get_current_pipeline_stage();
-  return do_calc_tight_bounds(min_point, max_point, found_any, 
-			      vertex_data, got_mat, mat,
-			      pipeline_stage);
+  do_calc_tight_bounds(min_point, max_point, found_any, 
+                       vertex_data, got_mat, mat,
+                       pipeline_stage);
 }
 }
 
 
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////

+ 1 - 1
panda/src/gobj/lens.I

@@ -437,7 +437,7 @@ adjust_comp_flags(int clear_flags, int set_flags) {
   _comp_flags = (_comp_flags & ~clear_flags) | set_flags;
   _comp_flags = (_comp_flags & ~clear_flags) | set_flags;
 }
 }
 
 
-EXPCL_PANDA INLINE ostream &
+INLINE ostream &
 operator << (ostream &out, const Lens &lens) {
 operator << (ostream &out, const Lens &lens) {
   lens.output(out);
   lens.output(out);
   return out;
   return out;

+ 1 - 0
panda/src/grutil/fisheyeMaker.cxx

@@ -28,6 +28,7 @@
 #include "cmath.h"
 #include "cmath.h"
 #include "mathNumbers.h"
 #include "mathNumbers.h"
 #include "graphicsStateGuardian.h"
 #include "graphicsStateGuardian.h"
+#include "displayRegion.h"
 
 
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 //     Function: FisheyeMaker::reset
 //     Function: FisheyeMaker::reset

+ 1 - 0
panda/src/grutil/openCVTexture.cxx

@@ -23,6 +23,7 @@
 #include "clockObject.h"
 #include "clockObject.h"
 #include "config_gobj.h"
 #include "config_gobj.h"
 #include "config_grutil.h"
 #include "config_grutil.h"
+#include "bamReader.h"
 
 
 TypeHandle OpenCVTexture::_type_handle;
 TypeHandle OpenCVTexture::_type_handle;
 
 

+ 1 - 0
panda/src/pipeline/reMutexDirect.cxx

@@ -17,6 +17,7 @@
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 
 
 #include "reMutexDirect.h"
 #include "reMutexDirect.h"
+#include "thread.h"
 
 
 #ifndef HAVE_REMUTEXIMPL
 #ifndef HAVE_REMUTEXIMPL
 MutexImpl ReMutexDirect::_global_lock;
 MutexImpl ReMutexDirect::_global_lock;

+ 1 - 0
panda/src/pipeline/threadWin32Impl.cxx

@@ -21,6 +21,7 @@
 
 
 #ifdef THREAD_WIN32_IMPL
 #ifdef THREAD_WIN32_IMPL
 
 
+#include "thread.h"
 #include "pointerTo.h"
 #include "pointerTo.h"
 #include "config_pipeline.h"
 #include "config_pipeline.h"