Closed
Bug 1261658
Opened 8 years ago
Closed 8 years ago
Compiler Warning C4595 in mozalloc with Visual Studio 2015 Update 2
Categories
(Core :: Memory Allocator, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1261719
People
(Reporter: jkitch, Unassigned)
References
Details
New warning in VS2015u2 10:56.84 Warning: C4595 in c:\mozilla-central\obj-x86_64-pc-mingw32\dist\include\mozilla\mozalloc.h: 'operator new': non-member operator new or delete functions may not be declared inline 10:56.84 c:\mozilla-central\obj-x86_64-pc-mingw32\dist\include\mozilla/mozalloc.h(184): warning C4595: 'operator new': non-member operator new or delete functions may not be declared inline 10:56.84 Warning: C4595 in c:\mozilla-central\obj-x86_64-pc-mingw32\dist\include\mozilla\mozalloc.h: 'operator new': non-member operator new or delete functions may not be declared inline 10:56.84 c:\mozilla-central\obj-x86_64-pc-mingw32\dist\include\mozilla/mozalloc.h(190): warning C4595: 'operator new': non-member operator new or delete functions may not be declared inline 10:56.84 Warning: C4595 in c:\mozilla-central\obj-x86_64-pc-mingw32\dist\include\mozilla\mozalloc.h: 'operator new[]': non-member operator new or delete functions may not be declared inline 10:56.84 c:\mozilla-central\obj-x86_64-pc-mingw32\dist\include\mozilla/mozalloc.h(196): warning C4595: 'operator new[]': non-member operator new or delete functions may not be declared inline 10:56.84 Warning: C4595 in c:\mozilla-central\obj-x86_64-pc-mingw32\dist\include\mozilla\mozalloc.h: 'operator new[]': non-member operator new or delete functions may not be declared inline 10:56.84 c:\mozilla-central\obj-x86_64-pc-mingw32\dist\include\mozilla/mozalloc.h(202): warning C4595: 'operator new[]': non-member operator new or delete functions may not be declared inline 10:56.84 Warning: C4595 in c:\mozilla-central\obj-x86_64-pc-mingw32\dist\include\mozilla\mozalloc.h: 'operator delete': non-member operator new or delete functions may not be declared inline 10:56.85 c:\mozilla-central\obj-x86_64-pc-mingw32\dist\include\mozilla/mozalloc.h(208): warning C4595: 'operator delete': non-member operator new or delete functions may not be declared inline 10:56.85 Warning: C4595 in c:\mozilla-central\obj-x86_64-pc-mingw32\dist\include\mozilla\mozalloc.h: 'operator delete': non-member operator new or delete functions may not be declared inline 10:56.85 c:\mozilla-central\obj-x86_64-pc-mingw32\dist\include\mozilla/mozalloc.h(214): warning C4595: 'operator delete': non-member operator new or delete functions may not be declared inline 10:56.85 Warning: C4595 in c:\mozilla-central\obj-x86_64-pc-mingw32\dist\include\mozilla\mozalloc.h: 'operator delete[]': non-member operator new or delete functions may not be declared inline 10:56.85 c:\mozilla-central\obj-x86_64-pc-mingw32\dist\include\mozilla/mozalloc.h(220): warning C4595: 'operator delete[]': non-member operator new or delete functions may not be declared inline 10:56.85 Warning: C4595 in c:\mozilla-central\obj-x86_64-pc-mingw32\dist\include\mozilla\mozalloc.h: 'operator delete[]': non-member operator new or delete functions may not be declared inline 10:56.85 c:\mozilla-central\obj-x86_64-pc-mingw32\dist\include\mozilla/mozalloc.h(226): warning C4595: 'operator delete[]': non-member operator new or delete functions may not be declared inline One of the breaking changes in update 2: Overloaded non-member operator new and operator delete may not be declared inline. https://msdn.microsoft.com/en-us/library/mt656697.aspx
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•