Build Errors on RHEL7

Jul 23, 2015 at 3:41 PM
While trying to build on RHEL7.1 x86-64, I'm getting the following make error:
========================= Performing make SCXCore
mkdir -p /home/user/Downloads/scom/scxom-2012R2/pal/intermediate/Linux_REDHAT_7.1_x64_64_Release/source/code/scxcorelib/util
g++ -c -Os -fno-enforce-eh-specs -fno-omit-frame-pointer -DPF_DISTRO_REDHAT -DPF_MAJOR=7 -DPF_MINOR=1 -Dx64 -DPF_WIDTH=64 -DNDEBUG -fstack-protector-all -Wall -pedantic  -fno-nonansi-builtins  -Woverloaded-virtual -Wformat -Wformat-security   -Wfloat-equal -Wcast-qual -Wcast-align -Wconversion  -Wswitch-enum -Wundef -Wshadow -Wwrite-strings -Wredundant-decls -Werror  -Wstrict-null-sentinel -Wmissing-include-dirs -Winit-self -Wextra  -fPIC   -I/home/user/Downloads/scom/scxom-2012R2/pal/source/code/include -I/home/user/Downloads/scom/scxom-2012R2/pal/source/code/include -I/home/user/Downloads/scom/scxom-2012R2/pal/intermediate/Linux_REDHAT_7.1_x64_64_Release/include -I/home/user/Downloads/scom/scxom-2012R2/pal -isystem. -isystem. -isystem/usr/include/rpm -I/home/user/Downloads/scom/scxom-2012R2/pal/source/code/scxcorelib/util -o /home/user/Downloads/scom/scxom-2012R2/pal/intermediate/Linux_REDHAT_7.1_x64_64_Release/source/code/scxcorelib/util/scxstream.o /home/user/Downloads/scom/scxom-2012R2/pal/source/code/scxcorelib/util/scxstream.cpp
/home/user/Downloads/scom/scxom-2012R2/pal/source/code/scxcorelib/util/scxstream.cpp:70:62: error: conversion to ‘int’ from ‘long unsigned int’ may alter its value [-Werror=conversion]
     const int cExtraBytesAllowed = (sizeof(wchar_t) * 8 - 6) / 5;
                                                              ^
cc1plus: all warnings being treated as errors
make[1]: *** [/home/user/Downloads/scom/scxom-2012R2/pal/intermediate/Linux_REDHAT_7.1_x64_64_Release/source/code/scxcorelib/util/scxstream.o] Error 1
make[1]: Leaving directory `/home/user/Downloads/scom/scxom-2012R2/pal/build'
make: *** [pal_all] Error 2
[user@hostname build]$ 
FWIW, I'm follow the steps defined in the build doc.

Any suggestions?