Menu

Git-Master Merge Request #1: Fix build failure (rejected)

Merging...

Merged

Something went wrong. Please, merge manually

Checking if merge is possible...

Something went wrong. Please, merge manually

林博仁(Buo-ren Lin) wants to merge 1 commit from /u/lin-buo-ren/guvcview/ to master, 2024-09-18

guvcview fails to build on explicitly clean containers with the following error:

guvcview.c: In function main:
guvcview.c:108:17: warning: implicit declaration of function setlocale [-Wimplicit-function-declaration]
  char* lc_all = setlocale (LC_ALL, "");
                 ^

This patch fixes it by including the proper header file.

Signed-off-by: 林博仁(Buo-ren Lin) Buo.Ren.Lin@gmail.com

Commit Date  
[0b64f3] (patch-fix-build) by 林博仁(Buo-ren Lin) 林博仁(Buo-ren Lin)

fix build error due to missing declaration

guvcview fails to build on explicitly clean containers with the following error:

```
guvcview.c: In function ‘main’:
guvcview.c:108:17: warning: implicit declaration of function ‘setlocale’ [-Wimplicit-function-declaration]
char* lc_all = setlocale (LC_ALL, "");
^
```

This patch fixes it by including the proper header file.

Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@...>

2018-06-11 12:03:45 Tree

Discussion

  • 林博仁(Buo-ren Lin)

    No longer reproduced in 2.1.0, closing.

     
  • 林博仁(Buo-ren Lin)

    • Status: open --> rejected
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.