Per Arnold Blaasmo wrote:
./SSPhysLib/SSVersionObject.h: In member function 'std::string
SSRestoreAction<ACTION>::GetFileName() const':
./SSPhysLib/SSVersionObject.h:360: error: 'm_Action' was not declared in this scope
./SSPhysLib/SSVersionObject.h: In member function 'std::string
SSArchiveAction<ACTION>::GetFileName() const':
./SSPhysLib/SSVersionObject.h:416: error: 'm_Action' was not declared in this scope

I've reached the same point (without the initial modification). Seems like a bug in GCC to me...

The attached fix gets me around the problem. Seems to build. This warning is near the end of the build: ./SSPhys/GetCommand.cpp:708: warning: the use of `tmpnam' is dangerous, better use `mkstemp'

Regards,
/Micke
Index: ssphys/SSPhysLib/SSVersionObject.h
===================================================================
--- ssphys/SSPhysLib/SSVersionObject.h  (revision 264)
+++ ssphys/SSPhysLib/SSVersionObject.h  (working copy)
@@ -357,7 +357,7 @@
     return action; 
   }
 
-  std::string GetFileName ()  const { return std::string (m_Action.filename); }
+  std::string GetFileName ()  const { return std::string (SSItemAction<ACTION, 
RESTORE_ACTION>::m_Action.filename); }
 
   virtual void ToXml (XMLNode* pParent) const;
   virtual void Dump (std::ostream& os) const;
@@ -413,7 +413,7 @@
     return action; 
   }
 
-  std::string GetFileName ()  const { return std::string (m_Action.filename); }
+  std::string GetFileName ()  const { return std::string (SSItemAction<ACTION, 
ARCHIVE_ACTION>::m_Action.filename); }
 
   virtual void ToXml (XMLNode* pParent) const;
   virtual void Dump (std::ostream& os) const;
_______________________________________________
vss2svn-users mailing list
Project homepage:
http://www.pumacode.org/projects/vss2svn/
Subscribe/Unsubscribe/Admin:
http://lists.pumacode.org/mailman/listinfo/vss2svn-users-lists.pumacode.org
Mailing list web interface (with searchable archives):
http://dir.gmane.org/gmane.comp.version-control.subversion.vss2svn.user

Reply via email to