[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r9904: Compiler warning fixes (visib
From: |
Benjamin Wolsey |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r9904: Compiler warning fixes (visibility). |
Date: |
Thu, 02 Oct 2008 13:32:19 +0200 |
User-agent: |
Bazaar (1.5) |
------------------------------------------------------------
revno: 9904
committer: Benjamin Wolsey <address@hidden>
branch nick: trunk
timestamp: Thu 2008-10-02 13:32:19 +0200
message:
Compiler warning fixes (visibility).
modified:
libcore/asobj/xmlattrs.h
libcore/edit_text_character.h
libcore/rect.h
------------------------------------------------------------
revno: 9902.1.2
committer: Benjamin Wolsey <address@hidden>
branch nick: work
timestamp: Thu 2008-10-02 13:07:22 +0200
message:
Drop DSOLOCAL, as it's useless and this fixes the gcc warnings when
visibility
is enabled.
modified:
libcore/rect.h
------------------------------------------------------------
revno: 9902.1.3
committer: Benjamin Wolsey <address@hidden>
branch nick: work
timestamp: Thu 2008-10-02 13:07:53 +0200
message:
Legal header guard.
modified:
libcore/edit_text_character.h
------------------------------------------------------------
revno: 9902.1.4
committer: Benjamin Wolsey <address@hidden>
branch nick: work
timestamp: Thu 2008-10-02 13:08:11 +0200
message:
Legal header guard, drop DSOLOCAL.
modified:
libcore/asobj/xmlattrs.h
=== modified file 'libcore/asobj/xmlattrs.h'
--- a/libcore/asobj/xmlattrs.h 2008-03-28 16:23:06 +0000
+++ b/libcore/asobj/xmlattrs.h 2008-10-02 11:08:11 +0000
@@ -15,8 +15,8 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-#ifndef __XML_ATTRS_H__
-#define __XML_ATTRS_H__
+#ifndef GNASH_XML_ATTRS_H
+#define GNASH_XML_ATTRS_H
//#define DEBUG_MEMORY_ALLOCATION 1
#include "as_object.h" // for inheritance
@@ -36,7 +36,8 @@
namespace gnash {
/// XML Attribute class
-class DSOLOCAL XMLAttr {
+class XMLAttr
+{
public:
XMLAttr()
@@ -51,16 +52,6 @@
~XMLAttr()
{}
-#if 0
- XMLAttr& operator = (const XMLAttr& node)
- {
- _name = node._name;
- _value = node._value;
-
- return *this;
- }
-#endif
-
const std::string& name() const { return _name; }
const std::string& value() const { return _value; }
@@ -74,7 +65,7 @@
};
/// XML Attribute ActionScript Object
-class DSOLOCAL xmlattr_as_object : public as_object
+class xmlattr_as_object : public as_object
{
public:
//XMLAttr obj;
=== modified file 'libcore/edit_text_character.h'
--- a/libcore/edit_text_character.h 2008-07-04 10:00:28 +0000
+++ b/libcore/edit_text_character.h 2008-10-02 11:07:53 +0000
@@ -15,8 +15,8 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-#ifndef _GNASH_EDIT_TEXT_CHARACTER_H_
-#define _GNASH_EDIT_TEXT_CHARACTER_H_
+#ifndef GNASH_EDIT_TEXT_CHARACTER_H
+#define GNASH_EDIT_TEXT_CHARACTER_H
#include "character.h" // for inheritance
#include "edit_text_character_def.h" // for inlines and typedefs
=== modified file 'libcore/rect.h'
--- a/libcore/rect.h 2008-08-10 14:57:21 +0000
+++ b/libcore/rect.h 2008-10-02 11:07:22 +0000
@@ -36,9 +36,9 @@
namespace gnash {
/// \brief
-/// Rectangle class, see swf defined rectangel record.
+/// Rectangle class, see swf defined rectangle record.
///
-class DSOLOCAL rect
+class rect
{
private:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/trunk r9904: Compiler warning fixes (visibility).,
Benjamin Wolsey <=