]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Update archive_private to avoid template keyword (#2342)
authorChristian Schmitz <support@monkeybreadsoftware.de>
Sun, 13 Oct 2024 00:47:30 +0000 (02:47 +0200)
committerMartin Matuska <martin@matuska.de>
Sun, 13 Oct 2024 07:38:14 +0000 (09:38 +0200)
commitbbc0fd1ec0ddeec37047aa675b73ed96417f4ba3
treedfa857c8cc5f90b68b926fa9d00c12acd79a583b
parent448f8d4d4fc060a94412df41290cb90054aca703
Update archive_private to avoid template keyword (#2342)

People really should never, ever, ever use libarchive internal headers.  And they definitely should not expect libarchive internal headers to work in a C++ compiler.  (C++ and C are really just not that compatible.)

However, people do a lot of things they shouldn't:  Avoid the reserved C++ keyword `template`

(cherry picked from commit b8d7e074c16c7d0cac98e9236b299c0941edfd78)
libarchive/archive_private.h