Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
917427f3
Commit
917427f3
authored
May 04, 2004
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
yangf - yet another ndb gcc/g++ fix
Hopefully last one
parent
0ee9f5fa
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
ndb/config/Defs.LINUX.x86.GCC.mk
ndb/config/Defs.LINUX.x86.GCC.mk
+1
-1
ndb/src/common/portlib/gcc.cpp
ndb/src/common/portlib/gcc.cpp
+7
-0
ndb/src/common/util/new.cpp
ndb/src/common/util/new.cpp
+0
-7
No files found.
ndb/config/Defs.LINUX.x86.GCC.mk
View file @
917427f3
...
@@ -53,4 +53,4 @@ LINK.cc = $(PURE) $(CC) $(CCFLAGS) $(LDFLAGS)
...
@@ -53,4 +53,4 @@ LINK.cc = $(PURE) $(CC) $(CCFLAGS) $(LDFLAGS)
LINK.c
=
$(PURE)
$(CC)
$(CFLAGS)
$(LDFLAGS)
LINK.c
=
$(PURE)
$(CC)
$(CFLAGS)
$(LDFLAGS)
LDFLAGS_LAST
=
-lpthread
-lrt
LDFLAGS_LAST
=
-lpthread
-lrt
$(NDB_TOP)
/src/common/portlib/gcc.cpp
ndb/src/common/portlib/gcc.cpp
0 → 100644
View file @
917427f3
/**
* GCC linking problem...
*/
#if ( __GNUC__ == 3 )
extern
"C"
{
int
__cxa_pure_virtual
()
{
return
0
;}
}
#endif
ndb/src/common/util/new.cpp
View file @
917427f3
...
@@ -37,10 +37,3 @@ void operator delete[] (void *ptr) throw ()
...
@@ -37,10 +37,3 @@ void operator delete[] (void *ptr) throw ()
if
(
ptr
)
if
(
ptr
)
free
(
ptr
);
free
(
ptr
);
}
}
/**
* GCC linking problem...
*/
#if ( __GNUC__ == 3 )
extern
"C"
{
int
__cxa_pure_virtual
()
{
return
0
;}
}
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment