Comments (3)
What compiler are you using? On what distro?
from wlroots.
Sorry for the long reply.
I'm on Gentoo with gcc-5.4.0-r3
from wlroots.
Since WLR_SRC_DIR is a string literal, this can just be changed to static const size_t srclen = sizeof(WLR_SRC_DIR);
and still have it be correct.
However, just removing the static works to. We don't have to worry about useless runtime calls to strlen, as the compiler will surely optimise that out.
from wlroots.
Related Issues (20)
- EGL fails to initialize on etnaviv with EGL_PLATFORM_DEVICE_EXT HOT 3
- scene: add a way to crop and scale surface nodes
- scene: consider removing surface nodes
- scene: add presentation-time support
- Firefox Nightly with with Wayland compositing force enable will crash on launch (Vulkan) HOT 3
- vulkan: Remove hard dependency on validation layer
- SEGV on wlr_output_destroy HOT 6
- Pixman renderer asserts when using scene graph HOT 8
- Rootless compositor example HOT 1
- render/vulkan: support screencopy
- wlr_scene doesnโt use pending output size HOT 1
- Pixman renderer rejects externally-created buffers HOT 1
- Two DataOffer events when taking the clipboard
- Failed to create FB_DAMAGE_CLIPS property blob: Invalid argument HOT 4
- Scene graph allocates zero-sized buffers HOT 1
- Undefined symbol:drmIsKMSname="(unset)" requested_reply="0" HOT 5
- scene: add a function to get a node from a surface
- render/vulkan: add support for YUV formats
- scene surface-tree uses previous position for subsurfaces
- wlroots 0.15.0 issue HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wlroots.