VS2015 shows tons of warnings about inlined global deletes (and also many others): 9>g:\dev\firebird\src\jrd\../common/classes/alloc.h(352): warning C4595: 'operator delete': non-member operator new or delete functions may not be declared inline (compiling source file G:\dev\firebird\win32\src\jrd\grant.epp.boot.cpp) 9>g:\dev\firebird\src\jrd\../common/classes/alloc.h(356): warning C4595: 'operator delete[]': non-member operator new or delete functions may not be declared inline (compiling source file G:\dev\firebird\win32\src\jrd\grant.epp.boot.cpp)
But compiles fine. Issues with new function were fixed when initial VS2015 support was added. ========== Build: 47 succeeded, 0 failed, 14 up-to-date, 2 skipped ========== Someone tried to fix those warnings (and maybe errors) for clang, but forget about VS. https://github.com/FirebirdSQL/firebird/blob/master/src/common/classes/alloc.h#L352 On 2 June 2016 at 17:00, Dimitry Sibiryakov <s...@ibphoenix.com> wrote: > Hello, All. > > Am I alone who get following error trying to build current HEAD? > >> ------ Build started: Project: build_msg, Configuration: Debug x64 ------ >> Build started 02.06.2016 15:54:13. >> InitializeBuildStatus: >> Creating >> "..\..\..\temp\x64\Debug\build_msg\build_msg.tlog\unsuccessfulbuild" because >> "AlwaysCreate" was specified. >> ClCompile: >> build_file.cpp >> ..\..\..\gen\msgs\build_file.cpp(798): warning C4267: '=' : conversion from >> 'size_t' to 'USHORT', possible loss of data >> ..\..\..\gen\msgs\build_file.cpp(806): warning C4267: '=' : conversion from >> 'size_t' to 'USHORT', possible loss of data >> common.lib(alloc.obj) : error LNK2005: "void * __cdecl operator new(unsigned >> __int64)" (??2@YAPEAX_K@Z) already defined in build_fil e.obj >> build_file.obj : error LNK2019: unresolved external symbol "public: void * >> __cdecl Firebird::MemoryPool::allocate(unsigned __int64)" >> (?allocate@MemoryPool@Firebird@@QEAAPEAX_K@Z) referenced in function >> "public: static void * __cdecl Firebird::MemoryPool::globalAll oc(unsigned >> __int64)" (?globalAlloc@MemoryPool@Firebird@@SAPEAX_K@Z) >> ..\..\..\temp\x64\Debug\firebird\build_msg.exe : fatal error LNK1120: 1 >> unresolved externals >> >> Build FAILED. > > -- > WBR, SD. > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > Firebird-Devel mailing list, web interface at > https://lists.sourceforge.net/lists/listinfo/firebird-devel -- Egor Pugin ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel