mirror of
https://github.com/ocornut/imgui.git
synced 2026-11-14 19:04:44 +00:00
compiler warnings with -pedantic and -Wextra on gcc #626
Labels
No labels
accidentally closed
android
backends
bug
building
clipper
coloredit
color spaces
cplusplus
data types
demo
disabled
doc
docking
dpi
drag drop
drawing/drawlist
dropped
dx12
enhancement
focus
font/text
gallery
help wanted
idle/power saving
ime
in progress
inputs
inputtext
internals
label/id and id stack
language bindings
layout
linux/bsd
menus
multi-contexts
multi-threading
multi-viewports
nav
news/info
opengl
optimization
osx/ios
overlap
plot/graph
popups
question
scrolling
selection
settings
sliders/drags
style
tables/columns
tabs
test wanted
tools
tooltips
tree
tricks & tips
useful widgets
vulkan
web
window pos/depth
window sizing
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ocornut/imgui#626
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Firstly, thanks for this very useful library. Please compile your library with following flags:
-Wall -pedantic -WextraYou will see that the function ShowMetricsWindow needs to be fixed or the warning should be muted with:
#pragma GCC diagnostic ignored "-Wformat"Please report the actual warnings first to see if they are better fixed or ignored.
Travis is running Makefile with
-Wallhttps://travis-ci.org/ocornut/imguiI suppose I could increase the warning level of those Makefile but in my experience it creates more daily maintenance than not, considering I'm not running GCC here.
have a look here:
https://gist.github.com/freanux/6d2fdb85bedce2cdc27fe60bdb67d133
Thanks. PS use triple backword apostrophe to quote a block of code.
Okay. Thanks.
Should be all fixed now.