summaryrefslogtreecommitdiff
path: root/library
authorsandman <sandman>2002-09-24 22:52:01 (UTC)
committer sandman <sandman>2002-09-24 22:52:01 (UTC)
commitcfb3613fcf068f071b353b26f778fc9b41ac8a38 (patch) (side-by-side diff)
tree411d0fa22c742760164f4b040bf68667b180dbd1 /library
parent4374a35d9a3b072536bf091518f98855e6e438ad (diff)
downloadopie-cfb3613fcf068f071b353b26f778fc9b41ac8a38.zip
opie-cfb3613fcf068f071b353b26f778fc9b41ac8a38.tar.gz
opie-cfb3613fcf068f071b353b26f778fc9b41ac8a38.tar.bz2
Better workaround for the "ignoring inline" gcc bug, since editing the
generated inlinepics_p.h makes no sense after all
Diffstat (limited to 'library') (more/less context) (ignore whitespace changes)
-rw-r--r--library/resource.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/library/resource.cpp b/library/resource.cpp
index 0db2a75..bdcd603 100644
--- a/library/resource.cpp
+++ b/library/resource.cpp
@@ -27,9 +27,15 @@
#include <qregexp.h>
#include <qpixmapcache.h>
#include <qpainter.h>
+// this namespace is just a workaround for a gcc bug
+// gcc exports inline functions in the generated file
+// inlinepics_p.h
+
+namespace {
#include "inlinepics_p.h"
+}
/*!
\class Resource resource.h
\brief The Resource class provides access to named resources.