Skip to content

Commit

Permalink
SERVER-18719 Warn that 32-bit build is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
monkey101 committed Sep 23, 2015
1 parent 94c0a63 commit 0eecf26
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/mongo/db/startup_warnings_common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,13 @@ void logCommonStartupWarnings(const ServerGlobalParams& serverParams) {
warned = true;
}

const bool is32bit = sizeof(int*) == 4;
if (is32bit) {
log() << startupWarningsLog;
log() << "** WARNING: This 32-bit MongoDB binary is deprecated" << startupWarningsLog;
warned = true;
}

#if defined(_WIN32) && !defined(_WIN64)
// Warn user that they are running a 32-bit app on 64-bit Windows
BOOL wow64Process;
Expand Down

0 comments on commit 0eecf26

Please sign in to comment.