-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
$ g++ -o objconv -O2 src/*.cpp
src/coff.cpp:142:1: error: narrowing conversion of ‘2147483648u’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing]
};
^
src/disasm1.cpp: In member function ‘void CDisassembler::Pass1()’:
src/disasm1.cpp:816:36: warning: narrowing conversion of ‘((CDisassembler*)this)->CDisassembler::Section’ from ‘uint32 {aka unsigned int}’ to ‘int32 {aka int}’ inside { } [-Wnarrowing]
SFunctionRecord fun = {Section, 0, Sections[Section].TotalSize, 0, 0};
^~~~~~~
src/disasm2.cpp:101:1: error: narrowing conversion of ‘2147483648u’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing]
};
^
$ ls
extras objconv-instructions.pdf README.md src
$ g++ -v
Using built-in specs.
COLLECT_GCC=/usr/bin/g++
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --disable-libgcj --with-isl --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 6.3.1 20161221 (Red Hat 6.3.1-1) (GCC)
Metadata
Metadata
Assignees
Labels
No labels