<86>May 1 06:07:13 userdel[801309]: delete user 'rooter' <86>May 1 06:07:13 userdel[801309]: removed group 'rooter' owned by 'rooter' <86>May 1 06:07:13 userdel[801309]: removed shadow group 'rooter' owned by 'rooter' <86>May 1 06:07:13 groupadd[801322]: group added to /etc/group: name=rooter, GID=525 <86>May 1 06:07:13 groupadd[801322]: group added to /etc/gshadow: name=rooter <86>May 1 06:07:13 groupadd[801322]: new group: name=rooter, GID=525 <86>May 1 06:07:13 useradd[801327]: new user: name=rooter, UID=525, GID=525, home=/root, shell=/bin/bash <86>May 1 06:07:14 userdel[801352]: delete user 'builder' <86>May 1 06:07:14 userdel[801352]: removed group 'builder' owned by 'builder' <86>May 1 06:07:14 userdel[801352]: removed shadow group 'builder' owned by 'builder' <86>May 1 06:07:14 groupadd[801368]: group added to /etc/group: name=builder, GID=526 <86>May 1 06:07:14 groupadd[801368]: group added to /etc/gshadow: name=builder <86>May 1 06:07:14 groupadd[801368]: new group: name=builder, GID=526 <86>May 1 06:07:14 useradd[801383]: new user: name=builder, UID=526, GID=526, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/lpg-2.0.17-alt1_27jpp8.src.rpm: license not found in '/usr/share/license' directory: EPL warning: Macro %mvn_package not found warning: Macro %mvn_package not found warning: Macro %mvn_artifact not found warning: Macro %mvn_artifact not found warning: Macro %mvn_file not found warning: Macro %mvn_file not found warning: Macro %mvn_install not found <13>May 1 06:07:19 rpmi: javapackages-filesystem-1:5.3.0-alt1_4jpp8 sisyphus+234467.100.1.1 1563037789 installed <13>May 1 06:07:20 rpmi: javapackages-tools-1:5.3.0-alt1_4jpp8 sisyphus+234467.100.1.1 1563037789 installed <13>May 1 06:07:20 rpmi: libexpat-2.2.4-alt1 1503305341 installed <13>May 1 06:07:20 rpmi: libpng16-1.6.37-alt1 sisyphus+236677.100.2.1 1566917982 installed <13>May 1 06:07:20 rpmi: libjpeg-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902884 installed <13>May 1 06:07:20 rpmi: beust-jcommander-1.71-alt1_6jpp8 sisyphus+230680.100.1.3 1559093321 installed <13>May 1 06:07:20 rpmi: xmvn-api-3.0.0-alt1_23jpp8 sisyphus+234592.200.1.1 1563216657 installed <13>May 1 06:07:20 rpmi: xmvn-core-3.0.0-alt1_23jpp8 sisyphus+234592.200.1.1 1563216657 installed <13>May 1 06:07:20 rpmi: xml-utils-1:2.9.10-alt3 sisyphus+245000.16400.79.1 1583229770 installed <13>May 1 06:07:20 rpmi: liblksctp-1.0.17-alt2 1523113258 installed <13>May 1 06:07:20 rpmi: libglvnd-7:1.3.1-alt1 sisyphus+247547.100.1.2 1583859567 installed <13>May 1 06:07:20 rpmi: libwayland-server-1.18.0-alt1 sisyphus+245906.100.1.1 1581492497 installed <13>May 1 06:07:20 rpmi: lksctp-tools-1.0.17-alt2 1523113258 installed <13>May 1 06:07:20 rpmi: libjasper-2.0.16-alt1 sisyphus+231386.100.1.1 1559568071 installed <13>May 1 06:07:20 rpmi: apache-commons-compress-0:1.18-alt1_4jpp8 sisyphus+230079.100.1.3 1558794575 installed <13>May 1 06:07:20 rpmi: java-common-1.6.0-alt1 sisyphus+234020.100.1.1 1562437039 installed <13>May 1 06:07:20 rpmi: ant-lib-0:1.10.5-alt1_5jpp8 sisyphus+232747.100.2.1 1561092977 installed <13>May 1 06:07:20 rpmi: ant-0:1.10.5-alt1_5jpp8 sisyphus+232747.100.2.1 1561092977 installed <13>May 1 06:07:20 rpmi: regexp-1:1.5-alt1_31jpp8 sisyphus+246350.100.1.1 1581791141 installed <13>May 1 06:07:20 rpmi: slf4j-0:1.7.25-alt1_6jpp8 sisyphus+234787.100.1.2 1563401783 installed <13>May 1 06:07:20 rpmi: zip-30000000:3.0-alt1 1332241778 installed <13>May 1 06:07:20 rpmi: sgml-common-0.6.3-alt15 1423664786 installed <13>May 1 06:07:20 rpmi: docbook-dtds-4.5-alt1 1223476557 installed <13>May 1 06:07:20 rpmi: docbook-style-xsl-1.79.1-alt4 sisyphus+232871.100.1.1 1561238010 installed <13>May 1 06:07:20 rpmi: rpm-macros-java-1:5.3.0-alt1_4jpp8 sisyphus+234467.100.1.1 1563037789 installed <13>May 1 06:07:20 rpmi: libnatspec-0.3.1-alt2 1445691578 installed <13>May 1 06:07:20 rpmi: unzip-6.0-alt3 sisyphus+244330.100.1.1 1579094112 installed <13>May 1 06:07:20 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>May 1 06:07:20 rpmi: libpcsclite-1.8.26-alt1 sisyphus+243821.140.3.1 1578667508 installed <13>May 1 06:07:21 rpmi: libsqlite3-3.31.0-alt1 sisyphus+244880.100.1.1 1579796775 installed <13>May 1 06:07:21 rpmi: libnspr-1:4.25-alt1 sisyphus+247014.100.1.1 1582673202 installed <13>May 1 06:07:21 rpmi: javazi-2020a-alt1 sisyphus+250575.200.1.1 1587740494 installed <13>May 1 06:07:21 rpmi: libgif-4.1.6-alt3 1299634266 installed <13>May 1 06:07:21 rpmi: liblz4-1:1.9.2-alt1 sisyphus+238585.100.2.2 1570066861 installed <13>May 1 06:07:21 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521088 installed <13>May 1 06:07:21 rpmi: libgcrypt20-1.8.5-alt3 sisyphus+239622.100.1.1 1571746563 installed <13>May 1 06:07:21 rpmi: libsystemd-1:245.4-alt2 sisyphus+249711.100.1.1 1586474633 installed <13>May 1 06:07:21 rpmi: libdbus-1.12.16-alt2 sisyphus+240566.100.2.1 1573547688 installed <13>May 1 06:07:21 rpmi: libavahi-0.7-alt3 sisyphus+250384.100.2.1 1587547072 installed <13>May 1 06:07:21 rpmi: libcups-2.3.1-alt1 sisyphus+247381.100.2.2 1583841503 installed <13>May 1 06:07:21 rpmi: libxslt-1.1.34-alt2 sisyphus+248264.100.1.1 1584829787 installed <13>May 1 06:07:21 rpmi: libgtk+2-locales-2.24.32-alt4 sisyphus+248211.200.2.1 1584869557 installed <13>May 1 06:07:21 rpmi: libdatrie-0.2.9-alt1_6 1511686677 installed <13>May 1 06:07:21 rpmi: libthai-0.1.28-alt1_1 sisyphus+226107.100.1.1 1554123079 installed <13>May 1 06:07:21 rpmi: libfribidi-1.0.9-alt1 sisyphus+247242.1500.7.1 1583840967 installed <13>May 1 06:07:21 rpmi: libpixman-3:0.40.0-alt1 sisyphus+250700.100.1.1 1587970807 installed <13>May 1 06:07:21 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268594 installed <13>May 1 06:07:21 rpmi: libwayland-client-1.18.0-alt1 sisyphus+245906.100.1.1 1581492497 installed <13>May 1 06:07:21 rpmi: libpciaccess-1:0.16-alt1 sisyphus+234814.100.1.1 1563438297 installed <13>May 1 06:07:21 rpmi: libdrm-1:2.4.101-alt1 sisyphus+249280.100.1.1 1585921681 installed <13>May 1 06:07:21 rpmi: libgbm-4:20.0.6-alt1 sisyphus+250887.100.1.1 1588236869 installed <13>May 1 06:07:21 rpmi: libatk-locales-2.36.0-alt1 sisyphus+249208.100.1.1 1585840405 installed <13>May 1 06:07:21 rpmi: libatk-2.36.0-alt1 sisyphus+249208.100.1.1 1585840405 installed <13>May 1 06:07:21 rpmi: libX11-locales-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056781 installed <13>May 1 06:07:21 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949347 installed <13>May 1 06:07:21 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed <13>May 1 06:07:21 rpmi: libxcb-1.14-alt1 sisyphus+247358.200.1.3 1583854223 installed <13>May 1 06:07:22 rpmi: libX11-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056781 installed <13>May 1 06:07:22 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed <13>May 1 06:07:22 rpmi: libXrender-0.9.8-alt1 1371312110 installed <13>May 1 06:07:22 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614842 installed <13>May 1 06:07:22 rpmi: libXi-1.7.10-alt1 sisyphus+232786.300.1.1 1561106975 installed <13>May 1 06:07:22 rpmi: libXcomposite-0.4.5-alt1 sisyphus+225206.300.1.2 1552949136 installed <13>May 1 06:07:22 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949282 installed <13>May 1 06:07:22 rpmi: libXcursor-1.2.0-alt1 sisyphus+225206.400.1.2 1552949214 installed <13>May 1 06:07:22 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949698 installed <13>May 1 06:07:22 rpmi: libXxf86vm-1.1.4-alt2 1527672159 installed <13>May 1 06:07:22 rpmi: libGLX-mesa-4:20.0.6-alt1 sisyphus+250887.100.1.1 1588236869 installed <13>May 1 06:07:22 rpmi: libEGL-mesa-4:20.0.6-alt1 sisyphus+250887.100.1.1 1588236869 installed <13>May 1 06:07:22 rpmi: libEGL-7:1.3.1-alt1 sisyphus+247547.100.1.2 1583859567 installed <13>May 1 06:07:22 rpmi: libGLX-7:1.3.1-alt1 sisyphus+247547.100.1.2 1583859567 installed <13>May 1 06:07:22 rpmi: libGL-7:1.3.1-alt1 sisyphus+247547.100.1.2 1583859567 installed <13>May 1 06:07:22 rpmi: libXinerama-1.1.4-alt1 sisyphus+223149.300.2.1 1551268223 installed <13>May 1 06:07:22 rpmi: libXtst-1.2.2-alt1 1369984880 installed <13>May 1 06:07:22 rpmi: libgraphite2-1.3.14-alt2 sisyphus+250009.100.1.1 1586943071 installed <13>May 1 06:07:22 rpmi: libharfbuzz-2.6.4-alt3 sisyphus+250007.100.2.1 1586945253 installed <13>May 1 06:07:22 rpmi: libfreetype-2.10.1-alt1 sisyphus+237471.100.1.1 1568276349 installed <13>May 1 06:07:22 rpmi: fontconfig-2.13.1-alt1 sisyphus+247349.100.1.2 1583841219 installed Updating fonts cache: <29>May 1 06:07:23 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>May 1 06:07:23 rpmi: libcairo-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515520 installed <13>May 1 06:07:23 rpmi: fonts-type1-xorg-7.0.0-alt4 1188553211 installed <13>May 1 06:07:23 rpmi: libXft-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987714 installed <13>May 1 06:07:23 rpmi: libpango-1.44.7-alt1 sisyphus+239731.100.1.1 1571986941 installed <13>May 1 06:07:23 rpmi: icon-theme-hicolor-0.17-alt2 sisyphus+248343.100.1.1 1584979043 installed <13>May 1 06:07:23 rpmi: libwebp7-1.1.0-alt1 sisyphus+243895.100.1.1 1578410876 installed <13>May 1 06:07:23 rpmi: libjbig-2.1-alt1 1401380921 installed <13>May 1 06:07:23 rpmi: libtiff5-4.1.0-alt1 sisyphus+240802.100.1.1 1573743630 installed <13>May 1 06:07:23 rpmi: shared-mime-info-1.15-alt1 sisyphus+240378.100.1.1 1573073793 installed <13>May 1 06:07:23 rpmi: libgdk-pixbuf-locales-2.40.0-alt1 sisyphus+238952.140.2.1 1570644607 installed <13>May 1 06:07:23 rpmi: gsettings-desktop-schemas-data-3.36.1-alt1 sisyphus+250870.100.1.1 1588227108 installed <13>May 1 06:07:23 rpmi: libgio-2.64.2-alt1 sisyphus+249693.100.1.1 1586451300 installed <13>May 1 06:07:23 rpmi: gsettings-desktop-schemas-3.36.1-alt1 sisyphus+250870.100.1.1 1588227108 installed <13>May 1 06:07:23 rpmi: libgdk-pixbuf-2.40.0-alt1 sisyphus+238952.140.2.1 1570644607 installed <13>May 1 06:07:23 rpmi: gtk-update-icon-cache-3.24.20-alt1 sisyphus+250751.100.1.1 1588052716 installed <13>May 1 06:07:24 rpmi: libgtk+2-2.24.32-alt4 sisyphus+248211.200.2.1 1584869557 installed <13>May 1 06:07:24 rpmi: libgail-2.24.32-alt4 sisyphus+248211.200.2.1 1584869557 installed <13>May 1 06:07:24 rpmi: gcc-c++-common-1.4.24-alt3 sisyphus+243033.100.1.1 1576462403 installed <13>May 1 06:07:24 rpmi: libstdc++9-devel-9.2.1-alt3 sisyphus+245055.100.1.1 1580041305 installed <13>May 1 06:07:26 rpmi: gcc9-c++-9.2.1-alt3 sisyphus+245055.100.1.1 1580041305 installed <13>May 1 06:07:26 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed <13>May 1 06:07:26 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825069 installed <13>May 1 06:07:26 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>May 1 06:07:26 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>May 1 06:07:26 rpmi: ca-certificates-2020.01.23-alt1 sisyphus+244791.300.2.1 1580285500 installed <13>May 1 06:07:26 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>May 1 06:07:26 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed <13>May 1 06:07:26 rpmi: libcrypto1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743567 installed <13>May 1 06:07:26 rpmi: libssl1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743567 installed <13>May 1 06:07:26 rpmi: libpython3-3.8.2-alt1 sisyphus+244999.100.3.1 1585218350 installed <13>May 1 06:07:26 rpmi: python3-3.8.2-alt1 sisyphus+244999.100.3.1 1585218350 installed <13>May 1 06:07:27 rpmi: python3-base-3.8.2-alt1 sisyphus+244999.100.3.1 1585218350 installed <13>May 1 06:07:27 rpmi: python3-module-sugarbowl-0.52.1-alt1.git20141130.1.1 sisyphus+227470.1100.1.1 1555687657 installed <13>May 1 06:07:27 rpmi: python3-module-six-1.13.0-alt1 sisyphus+240546.100.2.1 1573542703 installed <13>May 1 06:07:27 rpmi: python3-module-markupsafe-1.1.1-alt1 sisyphus+248369.100.1.1 1585046156 installed <13>May 1 06:07:27 rpmi: python3-module-jinja2-2.10.3-alt1 sisyphus+241982.100.1.1 1575023523 installed <13>May 1 06:07:27 rpmi: python3-module-clyde-0.8.0-alt1.git20141130.2.1 sisyphus+227465.1600.1.2 1555756906 installed <13>May 1 06:07:27 rpmi: python3-module-pkg_resources-1:46.1.3-alt1 sisyphus+250566.200.3.1 1587973342 installed <13>May 1 06:07:27 rpmi: python3-module-runfile-0.46.1-alt1.git20141130.2.1 sisyphus+227469.1300.2.3 1555706376 installed <13>May 1 06:07:27 rpmi: objectweb-asm-0:7.0-alt1_4jpp8 sisyphus+246362.100.1.3 1581801326 installed <13>May 1 06:07:27 rpmi: xmvn-install-3.0.0-alt1_23jpp8 sisyphus+234592.200.1.1 1563216657 installed <13>May 1 06:07:28 rpmi: xmvn-subst-3.0.0-alt1_23jpp8 sisyphus+234592.200.1.1 1563216657 installed <13>May 1 06:07:28 rpmi: xmvn-resolve-3.0.0-alt1_23jpp8 sisyphus+234592.200.1.1 1563216657 installed <13>May 1 06:07:28 rpmi: python3-module-genshi-0.7-alt2 sisyphus+229363.100.1.1 1557847321 installed <13>May 1 06:07:28 rpmi: python3-module-webencodings-0.5.1-alt2 sisyphus+245915.200.1.1 1581496105 installed <13>May 1 06:07:28 rpmi: python3-module-cssselect-0.9.1-alt2 sisyphus+250566.2300.6.1 1588188959 installed <13>May 1 06:07:28 rpmi: python3-module-html5lib-1:1.0.1-alt1 sisyphus+238807.100.2.1 1570465973 installed <13>May 1 06:07:28 rpmi: python3-module-lxml-4.5.0-alt2 sisyphus+250566.2700.6.1 1588189447 installed <13>May 1 06:07:28 rpmi: python3-module-javapackages-1:5.3.0-alt1_4jpp8 sisyphus+234467.100.1.1 1563037789 installed <13>May 1 06:07:28 rpmi: rpm-build-java-1:5.3.0-alt1_4jpp8 sisyphus+234467.100.1.1 1563037789 installed <13>May 1 06:07:28 rpmi: ca-trust-java-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>May 1 06:07:28 rpmi: libnss-3.51.0-alt1 sisyphus+247871.100.1.1 1584276084 installed <13>May 1 06:07:32 rpmi: java-1.8.0-openjdk-headless-0:1.8.0.212.b04-alt2_0jpp8 sisyphus+234504.100.1.1 1563097977 installed <13>May 1 06:07:33 rpmi: java-stub-javadoc-0.1-alt1 1229813340 installed <13>May 1 06:07:33 rpmi: alsa-ucm-conf-1.2.2-alt1 sisyphus+246761.200.1.1 1582270179 installed <13>May 1 06:07:33 rpmi: alsa-topology-conf-1.2.2-alt1 sisyphus+246761.100.1.1 1582270157 installed <13>May 1 06:07:33 rpmi: libalsa-1:1.2.2-alt1 sisyphus+246761.300.1.1 1582270244 installed <13>May 1 06:07:33 rpmi: java-1.8.0-openjdk-0:1.8.0.212.b04-alt2_0jpp8 sisyphus+234504.100.1.1 1563097977 installed <13>May 1 06:07:34 rpmi: java-1.8.0-openjdk-devel-0:1.8.0.212.b04-alt2_0jpp8 sisyphus+234504.100.1.1 1563097977 installed <13>May 1 06:07:34 rpmi: jpackage-generic-compat-0.30-alt1 sisyphus+234288.100.1.1 1562847521 installed <13>May 1 06:07:34 rpmi: javapackages-local-1:5.3.0-alt1_4jpp8 sisyphus+234467.100.1.1 1563037789 installed <13>May 1 06:07:34 rpmi: gcc-c++-9-alt1 sisyphus+239632.300.3.1 1571789214 installed <13>May 1 06:07:34 rpmi: ant-apache-regexp-0:1.10.5-alt1_5jpp8 sisyphus+232747.100.2.1 1561092977 installed <13>May 1 06:07:34 rpmi: rpm-build-java-osgi-0:5.0.0-alt45 1524219295 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/lpg-2.0.17-alt1_27jpp8.nosrc.rpm Installing lpg-2.0.17-alt1_27jpp8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.96065 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf lpg-1.1.0 + /bin/mkdir -p lpg-1.1.0 + cd lpg-1.1.0 + /bin/chmod -c -Rf u+rwX,go-w . + unzip -qq /usr/src/RPM/SOURCES/lpg-java-runtime-src-2.0.17.zip -d lpg-java-runtime + unzip -qq /usr/src/RPM/SOURCES/lpg-generator-cpp-src-2.0.17.zip -d lpg-generator-cpp + unzip -qq /usr/src/RPM/SOURCES/lpg-generator-templates-2.0.17.zip -d lpg-generator-templates + chmod -Rf a+rX,u+w,g-w,o-w . + cd /usr/src/RPM/BUILD + cd lpg-1.1.0 + echo 'Source #3 (lpgdistribution-05-16-06.zip):' Source #3 (lpgdistribution-05-16-06.zip): + /usr/bin/unzip -qq /usr/src/RPM/SOURCES/lpgdistribution-05-16-06.zip + /bin/chmod -c -Rf u+rwX,go-w . + cp -p /usr/src/RPM/SOURCES/lpg-build.xml lpgdistribution/build.xml + cp -p /usr/src/RPM/SOURCES/lpg-manifest.mf lpgdistribution/MANIFEST.MF + echo 'Patch #0 (lpg-bootstrap-target.patch):' Patch #0 (lpg-bootstrap-target.patch): + /usr/bin/patch -p0 -b --suffix .orig patching file lpg-generator-cpp/src/Makefile + echo 'Patch #1 (lpg-osgi-jar.patch):' Patch #1 (lpg-osgi-jar.patch): + /usr/bin/patch -p0 -b --suffix .orig patching file lpg-java-runtime/META-INF/MANIFEST.MF patching file lpg-java-runtime/exportPlugin.xml + echo 'Patch #2 (lpg-segfault.patch):' Patch #2 (lpg-segfault.patch): + /usr/bin/patch -p0 -b --suffix .orig patching file lpg-generator-cpp/src/tuple.h + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.96065 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd lpg-1.1.0 + cd lpg-java-runtime + ant -f exportPlugin.xml Buildfile: /usr/src/RPM/BUILD/lpg-1.1.0/lpg-java-runtime/exportPlugin.xml init: javaInit: [echo] Java source compatibility = 1.5 [echo] Java target compatibility = 1.5 build.plugin.jar: [echo] basedir = /usr/src/RPM/BUILD/lpg-1.1.0/lpg-java-runtime [mkdir] Created dir: /usr/src/RPM/BUILD/lpg-1.1.0/lpg-java-runtime/temp [mkdir] Created dir: /usr/src/RPM/BUILD/lpg-1.1.0/lpg-java-runtime/temp/bin [javac] Compiling 49 source files to /usr/src/RPM/BUILD/lpg-1.1.0/lpg-java-runtime/temp/bin [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5 [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 4 warnings [copy] Copying 1 file to /usr/src/RPM/BUILD/lpg-1.1.0/lpg-java-runtime/temp/bin [jar] Building jar: /usr/src/RPM/BUILD/lpg-1.1.0/lpg-java-runtime/lpgruntime.jar BUILD SUCCESSFUL Total time: 2 seconds + cd lpgdistribution + ant Buildfile: /usr/src/RPM/BUILD/lpg-1.1.0/lpgdistribution/build.xml init: all: [echo] basedir = /usr/src/RPM/BUILD/lpg-1.1.0/lpgdistribution [delete] Deleting directory /usr/src/RPM/BUILD/lpg-1.1.0/lpgdistribution/bin [mkdir] Created dir: /usr/src/RPM/BUILD/lpg-1.1.0/lpgdistribution/bin [javac] Compiling 38 source files to /usr/src/RPM/BUILD/lpg-1.1.0/lpgdistribution/bin [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5 [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 4 warnings [delete] Deleting: /usr/src/RPM/BUILD/lpg-1.1.0/lpgdistribution/lpgjavaruntime.jar [jar] Building jar: /usr/src/RPM/BUILD/lpg-1.1.0/lpgdistribution/lpgjavaruntime.jar BUILD SUCCESSFUL Total time: 2 seconds + pushd lpg-generator-cpp/src ~/RPM/BUILD/lpg-1.1.0/lpg-generator-cpp/src ~/RPM/BUILD/lpg-1.1.0 + make clean install ARCH=linux_x86 'LOCAL_CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow' 'LOCAL_CXXFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow' make: Entering directory '/usr/src/RPM/BUILD/lpg-1.1.0/lpg-generator-cpp/src' rm -f core ,* *~ *.bak rm -f *.o gmon.out mon.out TAGS tags g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c CAction.cpp In file included from Action.h:4, from CAction.h:4, from CAction.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c CTable.cpp In file included from partition.h:3, from CTable.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c CppAction.cpp In file included from CppAction.h:4, from CppAction.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c CppTable.cpp In file included from partition.h:3, from CppTable.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c JavaAction.cpp In file included from JavaAction.cpp:2: NTC.h: In constructor 'NTC::NTC(BoundedArray >&, Array&, Grammar*)': NTC.h:22:33: warning: 'NTC::global_map' will be initialized after [-Wreorder] 22 | BoundedArray< Tuple > &global_map; | ^~~~~~~~~~ NTC.h:21:18: warning: 'Array& NTC::user_specified_null_ast' [-Wreorder] 21 | Array &user_specified_null_ast; | ^~~~~~~~~~~~~~~~~~~~~~~ NTC.h:78:5: warning: when initialized here [-Wreorder] 78 | NTC(BoundedArray< Tuple > &global_map_, Array &user_specified_null_ast_, Grammar *grammar_) | ^~~ In file included from CTC.h:4, from JavaAction.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = Tuple]': CTC.h:67:72: required from here tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 657 | memmove(info, old_info, Size() * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = BitSet]': CTC.h:77:58: required from here tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSet' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 657 | memmove(info, old_info, Size() * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from CTC.h:5, from JavaAction.cpp:1: set.h:13:7: note: 'class BitSet' declared here 13 | class BitSet | ^~~~~~ In file included from /usr/include/string.h:507, from tuple.h:4, from CTC.h:4, from JavaAction.cpp:1: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, inlined from 'char* LexStream::InputBuffer(LexStream::TokenIndex)' at LexStream.h:221:53: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, inlined from 'char* LexStream::InputBuffer(LexStream::TokenIndex)' at LexStream.h:221:53, inlined from 'virtual void JavaAction::GenerateCommentHeader(TextBuffer&, const char*, Tuple&, Tuple&)' at JavaAction.cpp:1338:76: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, inlined from 'char* LexStream::InputBuffer(LexStream::TokenIndex)' at LexStream.h:221:53, inlined from 'virtual void JavaAction::GenerateCommentHeader(TextBuffer&, const char*, Tuple&, Tuple&)' at JavaAction.cpp:1339:74: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, inlined from 'char* LexStream::InputBuffer(LexStream::TokenIndex)' at LexStream.h:221:53, inlined from 'virtual void JavaAction::GenerateCommentHeader(TextBuffer&, const char*, Tuple&, Tuple&)' at JavaAction.cpp:1370:76: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, inlined from 'char* LexStream::InputBuffer(LexStream::TokenIndex)' at LexStream.h:221:53, inlined from 'virtual void JavaAction::GenerateCommentHeader(TextBuffer&, const char*, Tuple&, Tuple&)' at JavaAction.cpp:1371:74: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c JavaTable.cpp In file included from partition.h:3, from JavaTable.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c LexStream.cpp In file included from util.h:4, from option.h:4, from LexStream.h:7, from LexStream.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c MlAction.cpp In file included from Action.h:4, from MlAction.h:4, from MlAction.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c MlTable.cpp In file included from partition.h:3, from MlTable.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c PlxAction.cpp In file included from Action.h:4, from PlxAction.h:4, from PlxAction.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c PlxTable.cpp In file included from PlxTable.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c PlxasmAction.cpp In file included from PlxasmAction.h:4, from PlxasmAction.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c PlxasmTable.cpp In file included from PlxasmTable.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c XmlAction.cpp In file included from Action.h:4, from XmlAction.h:4, from XmlAction.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c XmlTable.cpp XmlTable.cpp: In member function 'virtual void XmlTable::PrintTables()': XmlTable.cpp:85:19: warning: variable 'in_symb_info' set but not used [-Wunused-but-set-variable] 85 | *in_symb_info = NULL; | ^~~~~~~~~~~~ In file included from table.h:4, from XmlTable.h:4, from XmlTable.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c Action.cpp In file included from Action.cpp:1: NTC.h: In constructor 'NTC::NTC(BoundedArray >&, Array&, Grammar*)': NTC.h:22:33: warning: 'NTC::global_map' will be initialized after [-Wreorder] 22 | BoundedArray< Tuple > &global_map; | ^~~~~~~~~~ NTC.h:21:18: warning: 'Array& NTC::user_specified_null_ast' [-Wreorder] 21 | Array &user_specified_null_ast; | ^~~~~~~~~~~~~~~~~~~~~~~ NTC.h:78:5: warning: when initialized here [-Wreorder] 78 | NTC(BoundedArray< Tuple > &global_map_, Array &user_specified_null_ast_, Grammar *grammar_) | ^~~ In file included from NTC.h:4, from Action.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = Tuple]': CTC.h:67:72: required from here tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 657 | memmove(info, old_info, Size() * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = BitSet]': CTC.h:77:58: required from here tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSet' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 657 | memmove(info, old_info, Size() * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from grammar.h:10, from control.h:5, from NTC.h:5, from Action.cpp:1: set.h:13:7: note: 'class BitSet' declared here 13 | class BitSet | ^~~~~~ In file included from NTC.h:4, from Action.cpp:1: tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = BitSetWithOffset]': LCA.h:71:70: required from here tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSetWithOffset' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 657 | memmove(info, old_info, Size() * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from grammar.h:10, from control.h:5, from NTC.h:5, from Action.cpp:1: set.h:383:7: note: 'class BitSetWithOffset' declared here 383 | class BitSetWithOffset : public BitSet | ^~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:507, from tuple.h:4, from NTC.h:4, from Action.cpp:1: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, inlined from 'char* LexStream::InputBuffer(LexStream::TokenIndex)' at LexStream.h:221:53: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'SimpleMacroSymbol* Action::InsertFilterMacro(const char*, char*)' at Action.h:116:16, inlined from 'void Action::SetupBuiltinMacros()' at Action.cpp:206:26: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from grammar.h:11, from control.h:5, from NTC.h:5, from Action.cpp:1: Action.h: In member function 'void Action::SetupBuiltinMacros()': Action.h:113:28: note: length computed here 113 | int length = strlen(name); | ~~~~~~^~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c base.cpp base.cpp: In member function 'void Base::Process()': base.cpp:249:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 249 | if (! generates_string[nt]) | ^ In file included from util.h:4, from option.h:4, from control.h:4, from base.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = BitSet]': base.cpp:30:73: required from here tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSet' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 657 | memmove(info, old_info, Size() * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from grammar.h:10, from control.h:5, from base.cpp:1: set.h:13:7: note: 'class BitSet' declared here 13 | class BitSet | ^~~~~~ In file included from util.h:4, from option.h:4, from control.h:4, from base.cpp:1: tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = Tuple]': base.cpp:38:73: required from here tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 657 | memmove(info, old_info, Size() * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = BitSetWithOffset]': base.cpp:303:77: required from here tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSetWithOffset' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 657 | memmove(info, old_info, Size() * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from grammar.h:10, from control.h:5, from base.cpp:1: set.h:383:7: note: 'class BitSetWithOffset' declared here 383 | class BitSetWithOffset : public BitSet | ^~~~~~~~~~~~~~~~ In file included from util.h:4, from option.h:4, from control.h:4, from base.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = BitSet]': base.cpp:482:47: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSet' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from grammar.h:10, from control.h:5, from base.cpp:1: set.h:13:7: note: 'class BitSet' declared here 13 | class BitSet | ^~~~~~ In file included from util.h:4, from option.h:4, from control.h:4, from base.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': base.cpp:506:50: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c buffer.cpp g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c code.cpp g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c control.cpp In file included from util.h:4, from option.h:4, from control.h:4, from control.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c dfa.cpp In file included from util.h:4, from option.h:4, from control.h:4, from dfa.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c diagnose.cpp In file included from util.h:4, from diagnose.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ In file included from /usr/include/string.h:507, from tuple.h:4, from util.h:4, from diagnose.cpp:1: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, inlined from 'static unsigned int Token::FindColumn(InputFileSymbol*, unsigned int)' at LexStream.h:117:37, inlined from 'unsigned int Token::EndColumn()' at LexStream.h:64:69, inlined from 'unsigned int LexStream::EndColumn(LexStream::TokenIndex)' at LexStream.h:211:79: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, inlined from 'static unsigned int Token::FindColumn(InputFileSymbol*, unsigned int)' at LexStream.h:117:37, inlined from 'unsigned int Token::Column()' at LexStream.h:63:69, inlined from 'unsigned int LexStream::Column(LexStream::TokenIndex)' at LexStream.h:209:73, inlined from 'void DiagnoseParser::PrintPrimaryMessage(int, int, Location, Location, int)' at diagnose.cpp:1934:47: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, inlined from 'static unsigned int Token::FindColumn(InputFileSymbol*, unsigned int)' at LexStream.h:117:37, inlined from 'unsigned int Token::Column()' at LexStream.h:63:69, inlined from 'unsigned int LexStream::Column(LexStream::TokenIndex)' at LexStream.h:209:73, inlined from 'void DiagnoseParser::PrintSecondaryMessage(int, int, Location, Location, int)' at diagnose.cpp:2065:47: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, inlined from 'static unsigned int Token::FindColumn(InputFileSymbol*, unsigned int)' at LexStream.h:117:37, inlined from 'unsigned int Token::EndColumn()' at LexStream.h:64:69, inlined from 'unsigned int LexStream::EndColumn(LexStream::TokenIndex)' at LexStream.h:211:79, inlined from 'void DiagnoseParser::PrintSecondaryMessage(int, int, Location, Location, int)' at diagnose.cpp:2067:50: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, inlined from 'static unsigned int Token::FindColumn(InputFileSymbol*, unsigned int)' at LexStream.h:117:37, inlined from 'unsigned int Token::EndColumn()' at LexStream.h:64:69, inlined from 'unsigned int LexStream::EndColumn(LexStream::TokenIndex)' at LexStream.h:211:79, inlined from 'void DiagnoseParser::PrintSecondaryMessage(int, int, Location, Location, int)' at diagnose.cpp:2069:50: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c dump.cpp g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c generator.cpp In file included from generator.h:4, from generator.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void Array::Resize(int) [with T = BitSetWithOffset]': generator.cpp:356:53: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSetWithOffset' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from grammar.h:10, from control.h:5, from generator.h:5, from generator.cpp:1: set.h:383:7: note: 'class BitSetWithOffset' declared here 383 | class BitSetWithOffset : public BitSet | ^~~~~~~~~~~~~~~~ In file included from generator.h:4, from generator.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = BitSet]': generator.cpp:360:52: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSet' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from grammar.h:10, from control.h:5, from generator.h:5, from generator.cpp:1: set.h:13:7: note: 'class BitSet' declared here 13 | class BitSet | ^~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c grammar.cpp In file included from util.h:4, from option.h:4, from control.h:4, from grammar.cpp:2: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ In file included from /usr/include/string.h:507, from tuple.h:4, from util.h:4, from option.h:4, from control.h:4, from grammar.cpp:2: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c jikespg.cpp jikespg.cpp: In function 'int main(int, char**)': jikespg.cpp:81:22: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] 81 | catch (bad_alloc b) | ^ In file included from symbol.h:4, from jikespg.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c jikespg_act.cpp In file included from util.h:4, from option.h:4, from LexStream.h:7, from Stacks.h:5, from jikespg.g:131, from jikespg_act.cpp:2: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c jikespg_init.cpp In file included from util.h:4, from option.h:4, from LexStream.h:7, from Stacks.h:5, from jikespg.g:131, from jikespg.g:315: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c jikespg_prs.cpp g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c option.cpp In file included from util.h:4, from option.h:4, from control.h:4, from option.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ In file included from /usr/include/string.h:507, from tuple.h:4, from util.h:4, from option.h:4, from control.h:4, from option.cpp:1: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, inlined from 'static unsigned int Token::FindColumn(InputFileSymbol*, unsigned int)' at LexStream.h:117:37, inlined from 'unsigned int Token::Column()' at LexStream.h:63:69, inlined from 'void Option::EmitHeader(Token*, Token*, const char*)' at option.cpp:38:36: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, inlined from 'static unsigned int Token::FindColumn(InputFileSymbol*, unsigned int)' at LexStream.h:117:37, inlined from 'unsigned int Token::EndColumn()' at LexStream.h:64:69, inlined from 'void Option::EmitHeader(Token*, Token*, const char*)' at option.cpp:42:37: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c parser.cpp In file included from util.h:4, from option.h:4, from LexStream.h:7, from Stacks.h:5, from jikespg.g:131, from parser.h:5, from parser.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c pda.cpp In file included from util.h:4, from option.h:4, from control.h:4, from pda.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void Array::Resize(int) [with T = BitSet]': pda.cpp:99:39: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSet' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from grammar.h:10, from control.h:5, from pda.cpp:1: set.h:13:7: note: 'class BitSet' declared here 13 | class BitSet | ^~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c produce.cpp In file included from util.h:4, from option.h:4, from control.h:4, from produce.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = Tuple]': produce.cpp:34:80: required from here tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 657 | memmove(info, old_info, Size() * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = BitSetWithOffset]': produce.cpp:35:79: required from here tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSetWithOffset' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 657 | memmove(info, old_info, Size() * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from grammar.h:10, from control.h:5, from produce.cpp:1: set.h:383:7: note: 'class BitSetWithOffset' declared here 383 | class BitSetWithOffset : public BitSet | ^~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c resolve.cpp resolve.cpp: In member function 'void Resolve::process_conflicts(int)': resolve.cpp:658:16: warning: unused variable 'otherEndToken' [-Wunused-variable] 658 | Token *otherEndToken = ls -> GetTokenReference(otherTokenEnd); | ^~~~~~~~~~~~~ In file included from resolve.h:4, from resolve.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ In file included from /usr/include/string.h:507, from tuple.h:4, from resolve.h:4, from resolve.cpp:1: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, inlined from 'static unsigned int Token::FindColumn(InputFileSymbol*, unsigned int)' at LexStream.h:117:37, inlined from 'unsigned int Token::Column()' at LexStream.h:63:69, inlined from 'void Resolve::process_conflicts(int)' at resolve.cpp:665:59: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c scanner.cpp scanner.cpp: In member function 'void Scanner::ClassifySingleQuotedSymbol()': scanner.cpp:1277:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1277 | if (ptr[0] == delimiter) | ^ scanner.cpp: In member function 'void Scanner::ClassifyDoubleQuotedSymbol()': scanner.cpp:1336:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1336 | if (ptr[0] == delimiter) | ^ In file included from util.h:4, from option.h:4, from control.h:4, from scanner.cpp:2: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ In file included from /usr/include/string.h:507, from tuple.h:4, from util.h:4, from option.h:4, from control.h:4, from scanner.cpp:2: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c sp.cpp In file included from util.h:4, from option.h:4, from control.h:4, from sp.h:4, from sp.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': sp.cpp:601:48: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': sp.cpp:604:44: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': sp.cpp:605:47: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c symbol.cpp g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c tab.cpp g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c table.cpp In file included from table.h:4, from table.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c util.cpp g++ CAction.o CTable.o CppAction.o CppTable.o JavaAction.o JavaTable.o LexStream.o MlAction.o MlTable.o PlxAction.o PlxTable.o PlxasmAction.o PlxasmTable.o XmlAction.o XmlTable.o Action.o base.o buffer.o code.o control.o dfa.o diagnose.o dump.o generator.o grammar.o jikespg.o jikespg_act.o jikespg_init.o jikespg_prs.o option.o parser.o pda.o produce.o resolve.o scanner.o sp.o symbol.o tab.o table.o util.o -o lpg-linux_x86 Installing targets and headers: cp lpg-linux_x86 ..//bin/lpg-linux_x86 make: Leaving directory '/usr/src/RPM/BUILD/lpg-1.1.0/lpg-generator-cpp/src' + make bootstrap ARCH=linux_x86 make: Entering directory '/usr/src/RPM/BUILD/lpg-1.1.0/lpg-generator-cpp/src' ../bin/lpg-linux_x86 jikespg.g IBM LALR Parser Generator Version 2.0.17 (May 25 2019) (C) Copyright IBM Corp. 1984, 2006. Options in effect for jikespg.g: ACTION-BLOCK=("jikespg_act.cpp","/.","./") ACTION-BLOCK=("jikespg_init.cpp","/:",":/") ACTION-BLOCK=("jikespg_act.h","/!","!/") AST-DIRECTORY="" AST-TYPE="Ast" NOATTRIBUTES NOAUTOMATIC-AST NOBACKTRACK BYTE CONFLICTS DAT-DIRECTORY="" DAT-FILE="jikespg_dcl.data" DCL-FILE="jikespg_prs.cpp" NODEBUG DEF-FILE="jikespg_def.cpp" NOEDIT ERROR-MAPS ESCAPE='$' EXPORT-TERMINALS=("jikespg_exp.h","","") EXTENDS-PARSETABLE FACTORY="new " FILE-PREFIX="jikespg_" NOFIRST NOFOLLOW NOGLR NOGOTO-DEFAULT GRM-FILE="jikespg.g" IMP-FILE="jikespg_imp.h" INCLUDE-DIRECTORY="" LALR=3 LEGACY NOLIST MARGIN=8 MAX-CASES=1024 NAMES=OPTIMIZED NONT-CHECK OR_MARKER='|' OUT-DIRECTORY="" PACKAGE="" NOPARENT-SAVE NOPARSETABLE-INTERFACES PREFIX="TK_" PRIORITY PROGRAMMING_LANGUAGE=CPP PRS-FILE="jikespg_prs.h" NOQUIET READ-REDUCE REMAP-TERMINALS SCOPES NOSERIALIZE NOSHIFT-DEFAULT NOSINGLE-PRODUCTIONS NOSOFT-KEYWORDS NOSTATES SUFFIX="" SYM-FILE="jikespg_sym.h" TAB-FILE="jikespg.t" TABLE TEMPLATE="" TRACE=CONFLICTS NOVARIABLES NOVERBOSE NOVISITOR VISITOR-TYPE="Visitor" WARNINGS NOXREF jikespg.g:120:5:120:17:3312:3324: Informative: Grammar is LALR(3). Number of Terminals: 37 Number of Nonterminals: 44 Number of Productions: 131 Number of Items: 384 Number of Scopes: 0 Number of States: 83 Number of look-ahead states: 21 Number of Shift actions: 445 Number of Goto actions: 58 Number of Shift/Reduce actions: 224 Number of Goto/Reduce actions: 54 Number of Reduce actions: 1616 Number of Shift-Reduce conflicts: 0 Number of Reduce-Reduce conflicts: 0 Number of entries in base Action Table: 195 Additional space required for compaction of Action Table: 0.5% Number of unique terminal states: 70 Number of Shift actions saved by merging: 105 Number of Conflict points saved by merging: 0 Number of Reduce actions saved by merging: 450 Number of Reduce saved by default: 1165 Number of entries in Terminal Action Table: 656 Additional space required for compaction of Terminal Table: 2.2% Actions in Compressed Tables: Number of Shifts: 445 Number of Shift/Reduces: 119 Number of Look-Ahead Shifts: 21 Number of Gotos: 58 Number of Goto/Reduces: 54 Number of Reduces: 1 Number of Defaults: 59 Parsing Tables storage: Storage required for BASE_CHECK: 327 Bytes Storage required for BASE_ACTION: 656 Bytes Storage required for TERM_CHECK: 708 Bytes Storage required for TERM_ACTION: 1344 Bytes Error maps storage: Storage required for ACTION_SYMBOLS_BASE map: 84 Bytes Storage required for ACTION_SYMBOLS_RANGE map: 155 Bytes Storage required for NACTION_SYMBOLS_BASE map: 84 Bytes Storage required for NACTION_SYMBOLS_RANGE map: 67 Bytes Storage required for TERMINAL_INDEX map: 38 Bytes Storage required for NON_TERMINAL_INDEX map: 46 Bytes Storage required for NAME_START map: 156 Bytes Storage required for STRING_BUFFER map: 780 Bytes rm -f jikespg.l make: Leaving directory '/usr/src/RPM/BUILD/lpg-1.1.0/lpg-generator-cpp/src' + make clean install ARCH=linux_x86 'LOCAL_CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow' 'LOCAL_CXXFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow' make: Entering directory '/usr/src/RPM/BUILD/lpg-1.1.0/lpg-generator-cpp/src' rm -f core ,* *~ *.bak rm -f *.o gmon.out mon.out TAGS tags g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c CAction.cpp In file included from Action.h:4, from CAction.h:4, from CAction.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c CTable.cpp In file included from partition.h:3, from CTable.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c CppAction.cpp In file included from CppAction.h:4, from CppAction.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c CppTable.cpp In file included from partition.h:3, from CppTable.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c JavaAction.cpp In file included from JavaAction.cpp:2: NTC.h: In constructor 'NTC::NTC(BoundedArray >&, Array&, Grammar*)': NTC.h:22:33: warning: 'NTC::global_map' will be initialized after [-Wreorder] 22 | BoundedArray< Tuple > &global_map; | ^~~~~~~~~~ NTC.h:21:18: warning: 'Array& NTC::user_specified_null_ast' [-Wreorder] 21 | Array &user_specified_null_ast; | ^~~~~~~~~~~~~~~~~~~~~~~ NTC.h:78:5: warning: when initialized here [-Wreorder] 78 | NTC(BoundedArray< Tuple > &global_map_, Array &user_specified_null_ast_, Grammar *grammar_) | ^~~ In file included from CTC.h:4, from JavaAction.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = Tuple]': CTC.h:67:72: required from here tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 657 | memmove(info, old_info, Size() * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = BitSet]': CTC.h:77:58: required from here tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSet' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 657 | memmove(info, old_info, Size() * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from CTC.h:5, from JavaAction.cpp:1: set.h:13:7: note: 'class BitSet' declared here 13 | class BitSet | ^~~~~~ In file included from /usr/include/string.h:507, from tuple.h:4, from CTC.h:4, from JavaAction.cpp:1: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, inlined from 'char* LexStream::InputBuffer(LexStream::TokenIndex)' at LexStream.h:221:53: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, inlined from 'char* LexStream::InputBuffer(LexStream::TokenIndex)' at LexStream.h:221:53, inlined from 'virtual void JavaAction::GenerateCommentHeader(TextBuffer&, const char*, Tuple&, Tuple&)' at JavaAction.cpp:1338:76: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, inlined from 'char* LexStream::InputBuffer(LexStream::TokenIndex)' at LexStream.h:221:53, inlined from 'virtual void JavaAction::GenerateCommentHeader(TextBuffer&, const char*, Tuple&, Tuple&)' at JavaAction.cpp:1339:74: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, inlined from 'char* LexStream::InputBuffer(LexStream::TokenIndex)' at LexStream.h:221:53, inlined from 'virtual void JavaAction::GenerateCommentHeader(TextBuffer&, const char*, Tuple&, Tuple&)' at JavaAction.cpp:1370:76: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, inlined from 'char* LexStream::InputBuffer(LexStream::TokenIndex)' at LexStream.h:221:53, inlined from 'virtual void JavaAction::GenerateCommentHeader(TextBuffer&, const char*, Tuple&, Tuple&)' at JavaAction.cpp:1371:74: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c JavaTable.cpp In file included from partition.h:3, from JavaTable.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c LexStream.cpp In file included from util.h:4, from option.h:4, from LexStream.h:7, from LexStream.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c MlAction.cpp In file included from Action.h:4, from MlAction.h:4, from MlAction.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c MlTable.cpp In file included from partition.h:3, from MlTable.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c PlxAction.cpp In file included from Action.h:4, from PlxAction.h:4, from PlxAction.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c PlxTable.cpp In file included from PlxTable.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c PlxasmAction.cpp In file included from PlxasmAction.h:4, from PlxasmAction.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c PlxasmTable.cpp In file included from PlxasmTable.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c XmlAction.cpp In file included from Action.h:4, from XmlAction.h:4, from XmlAction.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c XmlTable.cpp XmlTable.cpp: In member function 'virtual void XmlTable::PrintTables()': XmlTable.cpp:85:19: warning: variable 'in_symb_info' set but not used [-Wunused-but-set-variable] 85 | *in_symb_info = NULL; | ^~~~~~~~~~~~ In file included from table.h:4, from XmlTable.h:4, from XmlTable.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c Action.cpp In file included from Action.cpp:1: NTC.h: In constructor 'NTC::NTC(BoundedArray >&, Array&, Grammar*)': NTC.h:22:33: warning: 'NTC::global_map' will be initialized after [-Wreorder] 22 | BoundedArray< Tuple > &global_map; | ^~~~~~~~~~ NTC.h:21:18: warning: 'Array& NTC::user_specified_null_ast' [-Wreorder] 21 | Array &user_specified_null_ast; | ^~~~~~~~~~~~~~~~~~~~~~~ NTC.h:78:5: warning: when initialized here [-Wreorder] 78 | NTC(BoundedArray< Tuple > &global_map_, Array &user_specified_null_ast_, Grammar *grammar_) | ^~~ In file included from NTC.h:4, from Action.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = Tuple]': CTC.h:67:72: required from here tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 657 | memmove(info, old_info, Size() * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = BitSet]': CTC.h:77:58: required from here tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSet' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 657 | memmove(info, old_info, Size() * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from grammar.h:10, from control.h:5, from NTC.h:5, from Action.cpp:1: set.h:13:7: note: 'class BitSet' declared here 13 | class BitSet | ^~~~~~ In file included from NTC.h:4, from Action.cpp:1: tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = BitSetWithOffset]': LCA.h:71:70: required from here tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSetWithOffset' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 657 | memmove(info, old_info, Size() * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from grammar.h:10, from control.h:5, from NTC.h:5, from Action.cpp:1: set.h:383:7: note: 'class BitSetWithOffset' declared here 383 | class BitSetWithOffset : public BitSet | ^~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:507, from tuple.h:4, from NTC.h:4, from Action.cpp:1: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, inlined from 'char* LexStream::InputBuffer(LexStream::TokenIndex)' at LexStream.h:221:53: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'SimpleMacroSymbol* Action::InsertFilterMacro(const char*, char*)' at Action.h:116:16, inlined from 'void Action::SetupBuiltinMacros()' at Action.cpp:206:26: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from grammar.h:11, from control.h:5, from NTC.h:5, from Action.cpp:1: Action.h: In member function 'void Action::SetupBuiltinMacros()': Action.h:113:28: note: length computed here 113 | int length = strlen(name); | ~~~~~~^~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c base.cpp base.cpp: In member function 'void Base::Process()': base.cpp:249:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 249 | if (! generates_string[nt]) | ^ In file included from util.h:4, from option.h:4, from control.h:4, from base.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = BitSet]': base.cpp:30:73: required from here tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSet' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 657 | memmove(info, old_info, Size() * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from grammar.h:10, from control.h:5, from base.cpp:1: set.h:13:7: note: 'class BitSet' declared here 13 | class BitSet | ^~~~~~ In file included from util.h:4, from option.h:4, from control.h:4, from base.cpp:1: tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = Tuple]': base.cpp:38:73: required from here tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 657 | memmove(info, old_info, Size() * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = BitSetWithOffset]': base.cpp:303:77: required from here tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSetWithOffset' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 657 | memmove(info, old_info, Size() * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from grammar.h:10, from control.h:5, from base.cpp:1: set.h:383:7: note: 'class BitSetWithOffset' declared here 383 | class BitSetWithOffset : public BitSet | ^~~~~~~~~~~~~~~~ In file included from util.h:4, from option.h:4, from control.h:4, from base.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = BitSet]': base.cpp:482:47: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSet' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from grammar.h:10, from control.h:5, from base.cpp:1: set.h:13:7: note: 'class BitSet' declared here 13 | class BitSet | ^~~~~~ In file included from util.h:4, from option.h:4, from control.h:4, from base.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': base.cpp:506:50: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c buffer.cpp g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c code.cpp g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c control.cpp In file included from util.h:4, from option.h:4, from control.h:4, from control.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c dfa.cpp In file included from util.h:4, from option.h:4, from control.h:4, from dfa.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c diagnose.cpp In file included from util.h:4, from diagnose.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ In file included from /usr/include/string.h:507, from tuple.h:4, from util.h:4, from diagnose.cpp:1: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, inlined from 'static unsigned int Token::FindColumn(InputFileSymbol*, unsigned int)' at LexStream.h:117:37, inlined from 'unsigned int Token::EndColumn()' at LexStream.h:64:69, inlined from 'unsigned int LexStream::EndColumn(LexStream::TokenIndex)' at LexStream.h:211:79: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, inlined from 'static unsigned int Token::FindColumn(InputFileSymbol*, unsigned int)' at LexStream.h:117:37, inlined from 'unsigned int Token::Column()' at LexStream.h:63:69, inlined from 'unsigned int LexStream::Column(LexStream::TokenIndex)' at LexStream.h:209:73, inlined from 'void DiagnoseParser::PrintPrimaryMessage(int, int, Location, Location, int)' at diagnose.cpp:1934:47: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, inlined from 'static unsigned int Token::FindColumn(InputFileSymbol*, unsigned int)' at LexStream.h:117:37, inlined from 'unsigned int Token::Column()' at LexStream.h:63:69, inlined from 'unsigned int LexStream::Column(LexStream::TokenIndex)' at LexStream.h:209:73, inlined from 'void DiagnoseParser::PrintSecondaryMessage(int, int, Location, Location, int)' at diagnose.cpp:2065:47: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, inlined from 'static unsigned int Token::FindColumn(InputFileSymbol*, unsigned int)' at LexStream.h:117:37, inlined from 'unsigned int Token::EndColumn()' at LexStream.h:64:69, inlined from 'unsigned int LexStream::EndColumn(LexStream::TokenIndex)' at LexStream.h:211:79, inlined from 'void DiagnoseParser::PrintSecondaryMessage(int, int, Location, Location, int)' at diagnose.cpp:2067:50: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, inlined from 'static unsigned int Token::FindColumn(InputFileSymbol*, unsigned int)' at LexStream.h:117:37, inlined from 'unsigned int Token::EndColumn()' at LexStream.h:64:69, inlined from 'unsigned int LexStream::EndColumn(LexStream::TokenIndex)' at LexStream.h:211:79, inlined from 'void DiagnoseParser::PrintSecondaryMessage(int, int, Location, Location, int)' at diagnose.cpp:2069:50: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c dump.cpp g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c generator.cpp In file included from generator.h:4, from generator.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void Array::Resize(int) [with T = BitSetWithOffset]': generator.cpp:356:53: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSetWithOffset' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from grammar.h:10, from control.h:5, from generator.h:5, from generator.cpp:1: set.h:383:7: note: 'class BitSetWithOffset' declared here 383 | class BitSetWithOffset : public BitSet | ^~~~~~~~~~~~~~~~ In file included from generator.h:4, from generator.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = BitSet]': generator.cpp:360:52: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSet' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from grammar.h:10, from control.h:5, from generator.h:5, from generator.cpp:1: set.h:13:7: note: 'class BitSet' declared here 13 | class BitSet | ^~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c grammar.cpp In file included from util.h:4, from option.h:4, from control.h:4, from grammar.cpp:2: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ In file included from /usr/include/string.h:507, from tuple.h:4, from util.h:4, from option.h:4, from control.h:4, from grammar.cpp:2: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c jikespg.cpp jikespg.cpp: In function 'int main(int, char**)': jikespg.cpp:81:22: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] 81 | catch (bad_alloc b) | ^ In file included from symbol.h:4, from jikespg.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c jikespg_act.cpp In file included from util.h:4, from option.h:4, from LexStream.h:7, from Stacks.h:5, from jikespg.g:131, from jikespg_act.cpp:2: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c jikespg_init.cpp In file included from util.h:4, from option.h:4, from LexStream.h:7, from Stacks.h:5, from jikespg.g:131, from jikespg.g:315: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c jikespg_prs.cpp g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c option.cpp In file included from util.h:4, from option.h:4, from control.h:4, from option.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ In file included from /usr/include/string.h:507, from tuple.h:4, from util.h:4, from option.h:4, from control.h:4, from option.cpp:1: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, inlined from 'static unsigned int Token::FindColumn(InputFileSymbol*, unsigned int)' at LexStream.h:117:37, inlined from 'unsigned int Token::Column()' at LexStream.h:63:69, inlined from 'void Option::EmitHeader(Token*, Token*, const char*)' at option.cpp:38:36: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, inlined from 'static unsigned int Token::FindColumn(InputFileSymbol*, unsigned int)' at LexStream.h:117:37, inlined from 'unsigned int Token::EndColumn()' at LexStream.h:64:69, inlined from 'void Option::EmitHeader(Token*, Token*, const char*)' at option.cpp:42:37: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c parser.cpp In file included from util.h:4, from option.h:4, from LexStream.h:7, from Stacks.h:5, from jikespg.g:131, from parser.h:5, from parser.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c pda.cpp In file included from util.h:4, from option.h:4, from control.h:4, from pda.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void Array::Resize(int) [with T = BitSet]': pda.cpp:99:39: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSet' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from grammar.h:10, from control.h:5, from pda.cpp:1: set.h:13:7: note: 'class BitSet' declared here 13 | class BitSet | ^~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c produce.cpp In file included from util.h:4, from option.h:4, from control.h:4, from produce.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = Tuple]': produce.cpp:34:80: required from here tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 657 | memmove(info, old_info, Size() * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void BoundedArray::Resize(int, int) [with T = BitSetWithOffset]': produce.cpp:35:79: required from here tuple.h:657:28: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class BitSetWithOffset' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 657 | memmove(info, old_info, Size() * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from grammar.h:10, from control.h:5, from produce.cpp:1: set.h:383:7: note: 'class BitSetWithOffset' declared here 383 | class BitSetWithOffset : public BitSet | ^~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c resolve.cpp resolve.cpp: In member function 'void Resolve::process_conflicts(int)': resolve.cpp:658:16: warning: unused variable 'otherEndToken' [-Wunused-variable] 658 | Token *otherEndToken = ls -> GetTokenReference(otherTokenEnd); | ^~~~~~~~~~~~~ In file included from resolve.h:4, from resolve.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ In file included from /usr/include/string.h:507, from tuple.h:4, from resolve.h:4, from resolve.cpp:1: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24, inlined from 'static unsigned int Token::FindColumn(InputFileSymbol*, unsigned int)' at LexStream.h:117:37, inlined from 'unsigned int Token::Column()' at LexStream.h:63:69, inlined from 'void Resolve::process_conflicts(int)' at resolve.cpp:665:59: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c scanner.cpp scanner.cpp: In member function 'void Scanner::ClassifySingleQuotedSymbol()': scanner.cpp:1277:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1277 | if (ptr[0] == delimiter) | ^ scanner.cpp: In member function 'void Scanner::ClassifyDoubleQuotedSymbol()': scanner.cpp:1336:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1336 | if (ptr[0] == delimiter) | ^ In file included from util.h:4, from option.h:4, from control.h:4, from scanner.cpp:2: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ In file included from /usr/include/string.h:507, from tuple.h:4, from util.h:4, from option.h:4, from control.h:4, from scanner.cpp:2: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void InputFileSymbol::ReadInput()' at symbol.h:253:24: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' accessing 3 bytes at offsets 0 and 1 overlaps 2 bytes at offset 1 [-Wrestrict] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c sp.cpp In file included from util.h:4, from option.h:4, from control.h:4, from sp.h:4, from sp.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': sp.cpp:601:48: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': sp.cpp:604:44: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': sp.cpp:605:47: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c symbol.cpp g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c tab.cpp g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c table.cpp In file included from table.h:4, from table.cpp:1: tuple.h: In instantiation of 'void Array::Resize(int) [with T = Tuple]': blocks.h:16:29: required from here tuple.h:53:37: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class Tuple' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 53 | info = (T *) memmove(new T[new_size], old_info, size * sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuple.h:144:7: note: 'class Tuple' declared here 144 | class Tuple | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-strict-overflow -I../include -c util.cpp g++ CAction.o CTable.o CppAction.o CppTable.o JavaAction.o JavaTable.o LexStream.o MlAction.o MlTable.o PlxAction.o PlxTable.o PlxasmAction.o PlxasmTable.o XmlAction.o XmlTable.o Action.o base.o buffer.o code.o control.o dfa.o diagnose.o dump.o generator.o grammar.o jikespg.o jikespg_act.o jikespg_init.o jikespg_prs.o option.o parser.o pda.o produce.o resolve.o scanner.o sp.o symbol.o tab.o table.o util.o -o lpg-linux_x86 Installing targets and headers: cp lpg-linux_x86 ..//bin/lpg-linux_x86 make: Leaving directory '/usr/src/RPM/BUILD/lpg-1.1.0/lpg-generator-cpp/src' + popd ~/RPM/BUILD/lpg-1.1.0 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.28780 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/lpg-buildroot + : + /bin/rm -rf -- /usr/src/tmp/lpg-buildroot + cd lpg-1.1.0 + install -pD -T lpg-generator-cpp/bin/lpg-linux_x86 /usr/src/tmp/lpg-buildroot/usr/bin/lpg + /usr/bin/python3 /usr/share/java-utils/mvn_package.py lpg.runtime:java java + /usr/bin/python3 /usr/share/java-utils/mvn_package.py net.sourceforge.lpg:lpgjavaruntime java-compat + /usr/bin/python3 /usr/share/java-utils/mvn_artifact.py lpg.runtime:java:2.0.17 lpg-java-runtime/lpgruntime.jar + /usr/bin/python3 /usr/share/java-utils/mvn_artifact.py net.sourceforge.lpg:lpgjavaruntime:1.1.0 lpgdistribution/lpgjavaruntime.jar + /usr/bin/python3 /usr/share/java-utils/mvn_file.py lpg.runtime: lpgruntime + /usr/bin/python3 /usr/share/java-utils/mvn_file.py net.sourceforge.lpg: lpgjavaruntime + xmvn-install -R .xmvn-reactor -n lpg -d /usr/src/tmp/lpg-buildroot [INFO] Installing artifact lpg.runtime:java:jar:2.0.17 [INFO] Installing artifact net.sourceforge.lpg:lpgjavaruntime:jar:1.1.0 [INFO] Installation successful + jdir=target/site/apidocs + '[' -d .xmvn/apidocs ']' + /bin/mkdir -p /usr/src/tmp/lpg-buildroot/usr/share/license + '[' -d target/site/apidocs ']' + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/lpg-buildroot (auto) Verifying and fixing files in /usr/src/tmp/lpg-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/lpg-buildroot/ (default) Compressing files in /usr/src/tmp/lpg-buildroot (auto) Verifying ELF objects in /usr/src/tmp/lpg-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Processing files: lpg-2.0.17-alt1_27jpp8 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.87049 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd lpg-1.1.0 + DOCDIR=/usr/src/tmp/lpg-buildroot/usr/share/doc/lpg-2.0.17 + export DOCDIR + rm -rf /usr/src/tmp/lpg-buildroot/usr/share/doc/lpg-2.0.17 + /bin/mkdir -p /usr/src/tmp/lpg-buildroot/usr/share/doc/lpg-2.0.17 + cp -prL lpg-generator-templates/docs/Ast.txt 'lpg-generator-templates/docs/Getting Started with LPG.doc' 'lpg-generator-templates/docs/Getting Started with LPG.pdf' 'lpg-generator-templates/docs/LPG Automatic AST Generation.doc' 'lpg-generator-templates/docs/Using the LALR Parser Generator.doc' 'lpg-generator-templates/docs/Using the LALR Parser Generator.pdf' /usr/src/tmp/lpg-buildroot/usr/share/doc/lpg-2.0.17 + chmod -R go-w /usr/src/tmp/lpg-buildroot/usr/share/doc/lpg-2.0.17 + chmod -R a+rX /usr/src/tmp/lpg-buildroot/usr/share/doc/lpg-2.0.17 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.di5Ewb find-provides: running scripts (alternatives,debuginfo,lib,maven,osgi-fc,osgi,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.hHA697 find-requires: running scripts (cpp,debuginfo,files,javadoc,lib,maven,osgi-fc,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: /lib64/ld-linux-x86-64.so.2, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libgcc_s.so.1(GCC_3.0)(64bit), libstdc++.so.6(CXXABI_1.3)(64bit), libstdc++.so.6(CXXABI_1.3.8)(64bit), libstdc++.so.6(CXXABI_1.3.9)(64bit), libstdc++.so.6(GLIBCXX_3.4)(64bit), libstdc++.so.6(GLIBCXX_3.4.9)(64bit), rtld(GNU_HASH) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.bjEA6a Creating lpg-debuginfo package Processing files: lpg-java-2.0.17-alt1_27jpp8 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.64965 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd lpg-1.1.0 + DOCDIR=/usr/src/tmp/lpg-buildroot/usr/share/doc/lpg-java-2.0.17 + export DOCDIR + rm -rf /usr/src/tmp/lpg-buildroot/usr/share/doc/lpg-java-2.0.17 + /bin/mkdir -p /usr/src/tmp/lpg-buildroot/usr/share/doc/lpg-java-2.0.17 + cp -prL 'lpg-java-runtime/Eclipse Public License - Version 1_0.htm' /usr/src/tmp/lpg-buildroot/usr/share/doc/lpg-java-2.0.17 + chmod -R go-w /usr/src/tmp/lpg-buildroot/usr/share/doc/lpg-java-2.0.17 + chmod -R a+rX /usr/src/tmp/lpg-buildroot/usr/share/doc/lpg-java-2.0.17 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.GvynI7 find-provides: running scripts (alternatives,debuginfo,lib,maven,osgi-fc,osgi,pam,perl,pkgconfig,python,shell) [INFO maven.prov] input: ['/usr/src/tmp/lpg-buildroot/usr/share/maven-metadata/lpg-java.xml'] [INFO maven.prov] mvn(lpg.runtime:java) = 2.0.17 [INFO osgi.prov] input: ['/usr/src/tmp/lpg-buildroot/usr/share/java/lpgruntime.jar'] [INFO osgi.prov] osgi(lpg.runtime.java) = 2.0.17 Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.BGKQq9 find-requires: running scripts (cpp,debuginfo,files,javadoc,lib,maven,osgi-fc,osgi,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) [INFO maven.req] input: ['/usr/src/tmp/lpg-buildroot/usr/share/maven-metadata/lpg-java.xml'] [INFO maven.req] javapackages-filesystem [INFO osgi.req] input: ['/usr/src/tmp/lpg-buildroot/usr/share/java/lpgruntime.jar'] Provides: /usr/bin/jar, mvn(lpg.runtime:java) = 2.0.17, osgi(lpg.runtime) = 2.0.17, osgi(lpg.runtime.java) = 2.0.17 Requires: javapackages-filesystem Processing files: lpg-java-compat-1.1.0-alt1_27jpp8 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.20682 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd lpg-1.1.0 + DOCDIR=/usr/src/tmp/lpg-buildroot/usr/share/doc/lpg-java-compat-1.1.0 + export DOCDIR + rm -rf /usr/src/tmp/lpg-buildroot/usr/share/doc/lpg-java-compat-1.1.0 + /bin/mkdir -p /usr/src/tmp/lpg-buildroot/usr/share/doc/lpg-java-compat-1.1.0 + cp -prL 'lpg-java-runtime/Eclipse Public License - Version 1_0.htm' /usr/src/tmp/lpg-buildroot/usr/share/doc/lpg-java-compat-1.1.0 + chmod -R go-w /usr/src/tmp/lpg-buildroot/usr/share/doc/lpg-java-compat-1.1.0 + chmod -R a+rX /usr/src/tmp/lpg-buildroot/usr/share/doc/lpg-java-compat-1.1.0 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.KMvFGa find-provides: running scripts (alternatives,debuginfo,lib,maven,osgi-fc,osgi,pam,perl,pkgconfig,python,shell) [INFO maven.prov] input: ['/usr/src/tmp/lpg-buildroot/usr/share/maven-metadata/lpg-java-compat.xml'] [INFO maven.prov] mvn(net.sourceforge.lpg:lpgjavaruntime) = 1.1.0 [INFO osgi.prov] input: ['/usr/src/tmp/lpg-buildroot/usr/share/java/lpgjavaruntime.jar'] [INFO osgi.prov] osgi(net.sourceforge.lpg.lpgjavaruntime) = 1.1.0 Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.t4DgUa find-requires: running scripts (cpp,debuginfo,files,javadoc,lib,maven,osgi-fc,osgi,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) [INFO maven.req] input: ['/usr/src/tmp/lpg-buildroot/usr/share/maven-metadata/lpg-java-compat.xml'] [INFO maven.req] javapackages-filesystem [INFO osgi.req] input: ['/usr/src/tmp/lpg-buildroot/usr/share/java/lpgjavaruntime.jar'] Provides: /usr/bin/jar, mvn(net.sourceforge.lpg:lpgjavaruntime) = 1.1.0, osgi(lpg.lpgjavaruntime) = 1.1, osgi(net.sourceforge.lpg.lpgjavaruntime) = 1.1.0, osgi(net.sourceforge.lpg.lpgjavaruntime) = 1.1.0.v200803061910 Requires: javapackages-filesystem Processing files: lpg-debuginfo-2.0.17-alt1_27jpp8 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.8NA769 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.17knzb find-requires: running scripts (debuginfo) Requires: lpg = 2.0.17-alt1_27jpp8, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), debug64(libgcc_s.so.1), debug64(libstdc++.so.6) Adding to lpg-debuginfo a strict dependency on lpg Wrote: /usr/src/RPM/RPMS/x86_64/lpg-2.0.17-alt1_27jpp8.x86_64.rpm Wrote: /usr/src/RPM/RPMS/noarch/lpg-java-2.0.17-alt1_27jpp8.noarch.rpm Wrote: /usr/src/RPM/RPMS/noarch/lpg-java-compat-1.1.0-alt1_27jpp8.noarch.rpm Wrote: /usr/src/RPM/RPMS/x86_64/lpg-debuginfo-2.0.17-alt1_27jpp8.x86_64.rpm 288.53user 13.07system 5:31.53elapsed 90%CPU (0avgtext+0avgdata 210888maxresident)k 0inputs+0outputs (0major+2721016minor)pagefaults 0swaps /.out/lpg-java-2.0.17-alt1_27jpp8.noarch.rpm: license not found in '/usr/share/license' directory: EPL /.out/lpg-java-compat-1.1.0-alt1_27jpp8.noarch.rpm: license not found in '/usr/share/license' directory: EPL /.out/lpg-2.0.17-alt1_27jpp8.x86_64.rpm: license not found in '/usr/share/license' directory: EPL /.out/lpg-debuginfo-2.0.17-alt1_27jpp8.x86_64.rpm: license not found in '/usr/share/license' directory: EPL 309.92user 22.19system 6:05.50elapsed 90%CPU (0avgtext+0avgdata 210888maxresident)k 136inputs+0outputs (0major+3330559minor)pagefaults 0swaps --- lpg-java-2.0.17-alt1_27jpp8.noarch.rpm.repo 2019-05-27 18:38:38.000000000 +0000 +++ lpg-java-2.0.17-alt1_27jpp8.noarch.rpm.hasher 2020-05-01 06:13:14.515085740 +0000 @@ -4,3 +4,3 @@ /usr/share/maven-metadata/lpg-java.xml 100644 -Requires: javapackages-tools +Requires: javapackages-filesystem Requires: rpmlib(PayloadIsLzma) --- lpg-java-compat-1.1.0-alt1_27jpp8.noarch.rpm.repo 2019-05-27 18:38:38.000000000 +0000 +++ lpg-java-compat-1.1.0-alt1_27jpp8.noarch.rpm.hasher 2020-05-01 06:13:14.550084698 +0000 @@ -4,3 +4,3 @@ /usr/share/maven-metadata/lpg-java-compat.xml 100644 -Requires: javapackages-tools +Requires: javapackages-filesystem Requires: rpmlib(PayloadIsLzma)