Page MenuHomeFreeBSD

fix compiler warnings-as-errors on gcc6 in rcorder/crunchgen
ClosedPublic

Authored by adrian on Sep 21 2020, 6:33 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 5, 9:51 PM
Unknown Object (File)
Thu, Dec 5, 9:51 PM
Unknown Object (File)
Sun, Dec 1, 2:55 PM
Unknown Object (File)
Wed, Nov 27, 3:21 AM
Unknown Object (File)
Nov 17 2024, 8:36 AM
Unknown Object (File)
Nov 17 2024, 1:02 AM
Unknown Object (File)
Nov 12 2024, 5:57 AM
Unknown Object (File)
Nov 11 2024, 3:55 PM
Subscribers

Details

Summary

/usr/home/adrian/work/freebsd/head-embedded/src/sbin/rcorder/rcorder.c: In function 'generate_graphviz_header':
/usr/home/adrian/work/freebsd/head-embedded/src/sbin/rcorder/rcorder.c:993:1: error: old-style function definition [-Werror=old-style-definition]
generate_graphviz_header()
^~~~~~~~~~~~~~~~~~~~~~~~

Test Plan

Compiled using gcc-mips 6.4.0.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ignore the pmc related bits, it's not relevant for this fix

Non pmc bits look good to go

usr.sbin/Makefile
189 ↗(On Diff #77279)

N

This revision is now accepted and ready to land.Sep 21 2020, 6:46 AM

pmc parts were changed in rS334749 when libpmc added a C++ file but this shouldn't be necessary

LGTM except the usr.sbin/Makefile change