Skip to content

Commit

Permalink
src/meta-openembedded:directfb: Fix C++17 build warning
Browse files Browse the repository at this point in the history
DirectFB explicitly supports usage of C++. With C++17 and later the below
warning is given:

lib/direct/util.h:223:19:
warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  223 |      register int ret = 0;
      |                   ^~~

To address that, this commit brings in the patch proposed by PR which
removes the usage of the register keyword:

deniskropp/DirectFB#25

Signed-off-by: Ricardo Simoes <ricardo.simoespt.bosch.com>
Signed-off-by: Mark Jonas <mark.jonasde.bosch.com>
Signed-off-by: Khem Raj <raj.khemgmail.com>
  • Loading branch information
rugsi authored and kraj committed Aug 26, 2024
1 parent ddf7f8e commit 0a9e296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/meta-openembedded
Submodule meta-openembedded updated from 3f8254 to a4cad0

0 comments on commit 0a9e296

Please sign in to comment.