bug-xnee
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #63879] error: implicit declaration of function 'xnee_check_key', '


From: Ryan Schmidt
Subject: [bug #63879] error: implicit declaration of function 'xnee_check_key', 'xnee_handle_rec_key'
Date: Tue, 7 Mar 2023 23:12:59 -0500 (EST)

URL:
  <https://savannah.gnu.org/bugs/?63879>

                 Summary: error: implicit declaration of function
'xnee_check_key', 'xnee_handle_rec_key'
                   Group: Xnee
               Submitter: ryandesign
               Submitted: Wed 08 Mar 2023 04:12:57 AM UTC
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Wed 08 Mar 2023 04:12:57 AM UTC By: Ryan Schmidt <ryandesign>
xnee 3.19 does not build when `-Werror=implicit-function-declaration` is in
CFLAGS (or when a compiler is used that defaults to that behavior, such as the
version of clang included with Xcode 12 or later):


xnee_fake.c:809:8: error: implicit declaration of function 'xnee_check_key' is
invalid in C99 [-Werror,-Wimplicit-function-declaration]
          if (xnee_check_key (xd)==XNEE_GRAB_DATA) 
              ^
xnee_fake.c:811:15: error: implicit declaration of function
'xnee_handle_rec_key' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
              mode = xnee_handle_rec_key(xd);
                     ^


This is solved by editing the file libxnee/src/xnee_fake.c and including the
header (libxnee/xnee_km.h) where those functions are defined. See attached
patch.






    _______________________________________________________
File Attachments:


-------------------------------------------------------
Date: Wed 08 Mar 2023 04:12:57 AM UTC  Name: xnee_fake.c.patch  Size: 312B  
By: ryandesign

<http://savannah.gnu.org/bugs/download.php?file_id=54452>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63879>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]