[MacPorts] #61235: detex at 2.8_1 error: implicit declaration of function 'BeginEnv', 'EndEnv' and 'SeparateList' ... is invalid in C99

MacPorts noreply at macports.org
Sun Sep 27 03:29:16 UTC 2020


#61235: detex at 2.8_1 error: implicit declaration of function 'BeginEnv', 'EndEnv'
and 'SeparateList' ... is invalid in C99
--------------------+--------------------
 Reporter:  nasyxx  |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.6.99
 Keywords:          |       Port:  detex
--------------------+--------------------
 I was trying to install texlive+full, but `detex` stopped it.

 There are many errors like this:

 {{{
 :info:build make: Entering directory
 `/Users/Nasy/.macports/var/macports/build/_Users_Nasy_.macports_macports-
 ports_tex_detex/detex/work/detex-2.8'
 :info:build sed -f states.sed detex.l > xxx.l
 :info:build lex  xxx.l
 :info:build rm -f xxx.l
 :info:build mv lex.yy.c detex.c
 :info:build /usr/bin/clang -arch x86_64 -O  -DNO_MALLOC_DECL -Wno-return-
 type   -c -o detex.o detex.c
 :info:build xxx.l:132:9: error: implicit declaration of function
 'BeginEnv' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
 :info:build {   if (BeginEnv("verbatim"))
 :info:build         ^
 :info:build xxx.l:144:13: error: implicit declaration of function
 'BeginEnv' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
 :info:build                                                   if
 (BeginEnv("minpage"))
 :info:build                                                       ^
 :info:build xxx.l:151:9: error: implicit declaration of function
 'BeginEnv' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
 :info:build {   if (BeginEnv(yytext))
 :info:build         ^
 :info:build xxx.l:164:31: error: implicit declaration of function 'EndEnv'
 is invalid in C99 [-Werror,-Wimplicit-function-declaration]
 :info:build /* end environment */   {   if (EndEnv(yytext))
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/61235>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list