Menu

#24 Fix build with clang 15+

open
nobody
None
5
2024-01-17
2022-08-16
Khem Raj
No

compiling expect with clang15 results in bunch of errors which use to be warning thus far but now compilers are getting stricter

| ../../../../../../../workspace/sources/expect/exp_clib.c:2875:2: error: call to undeclared function 'setsid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]

Attached patch fixes such cases.

1 Attachments

Discussion

  • Florian Weimer

    Florian Weimer - 2022-11-18

    Additional changes are required in the configure script. I'm attaching what we will be using in Fedora.

     
  • Florian Weimer

    Florian Weimer - 2024-01-17

    And another fix for exp_chan.c. This ports expect to the current channel code (I hope).

     

Log in to post a comment.