Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 10.0.14
-
Fix Version/s: 10.0.15
-
Component/s: Storage Engine - Connect
-
Labels:
-
Environment:FreeBSD bobthebuilder 10.0-RELEASE-p7 FreeBSD 10.0-RELEASE-p7 #0: Tue Jul 8 06:37:44 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
Description
When building MariaDB 10.0.14 using clang 3.3 on FreeBSD amd64, there's a compile error in storage/connect/filamap.h
107: virtual int GetNextPos(void)
{return (int)Fpos + Nrec;}error: cast from pointer to smaller type 'int' loses information
int is a 32-bit type this will not fit a memory address of a 64-bit platform. This should probably be handled using a uintptr_t type which should be available on all platforms.
Gliffy Diagrams
Attachments
Issue Links
- is duplicated by
-
MDEV-7154 Errors building CONNECT from 10.1 on OS X
-
- Closed
-
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
Patches that enable build on FreeBSD 10.0 clang 3.3