Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Feb 2023 14:01:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 269653] src/sys/dev/an/if_an_pci.c :  error: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
Message-ID:  <bug-269653-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269653

            Bug ID: 269653
           Summary: src/sys/dev/an/if_an_pci.c :  error: a function
                    definition without a prototype is deprecated in all
                    versions of C and is not supported in C2x
                    [-Werror,-Wdeprecated-non-prototype]
           Product: Base System
           Version: 13.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: ohartmann@walstatt.org

Cross Compiling nanoBSD based appliance on CURRENT (14.0-CURRENT #0
main-n261013-df91d8167d97: Sat Feb 18 10:35:40 CET 2023 amd64) with surces =
of
13-STABLE as of today:=20
commit e9296dc1bcd21cd9d719389cd04235ce4513e84d (HEAD -> stable/13,
origin/stable/13=20

with a customized kernel, in which kernel config the driver "#device an"
(Aironet driver) has been commented out=20

kernel compiling results in=20


[...]
--- all_subdir_an ---
/pool/home/ohartmann/Projects/router/router/apu2c4/src/sys/dev/an/if_an_pci=
.c:143:1:
error: a function definition without a prototype is deprecated in all versi=
ons
of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]

make[2]: stopped in /pool/home/ohartmann/Projects/router/router/apu2c4/src
[...]

The last know to me source of 13-STABLE is
FreeBSD 13.2-PRERELEASE #183 n254363-d07eb716f35d: Sat Feb  4 10:44:22 CET =
2023
(amd64)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269653-227>