Page MenuHome
Paste P1131

(An Untitled Masterwork)
ActivePublic

Authored by Brecht Van Lommel (brecht) on Oct 7 2019, 7:46 PM.
[377/2992] Building C object source/blender/editors/sculpt_paint/CMakeFiles/bf_editor_sculpt_paint.dir/paint_vertex.c.o
In file included from /home/brecht/dev/worktree/source/blender/editors/sculpt_paint/paint_vertex.c:39:0:
/home/brecht/dev/worktree/source/blender/editors/sculpt_paint/paint_vertex.c: In function ‘wpaint_mode_toggle_exec’:
/home/brecht/dev/worktree/source/blender/editors/sculpt_paint/paint_vertex.c:1323:47: warning: passing argument 2 of ‘BKE_base_is_visible’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
if (base_arm && BASE_VISIBLE(v3d, base_arm)) {
^
/home/brecht/dev/worktree/source/blender/makesdna/DNA_scene_types.h:1979:58: note: in definition of macro ‘BASE_VISIBLE’
#define BASE_VISIBLE(v3d, base) BKE_base_is_visible(v3d, base)
^~~~
In file included from /home/brecht/dev/worktree/source/blender/editors/sculpt_paint/paint_vertex.c:57:0:
/home/brecht/dev/worktree/source/blender/blenkernel/BKE_layer.h:117:6: note: expected ‘struct Base *’ but argument is of type ‘const Base * {aka const struct Base *}’
bool BKE_base_is_visible(struct View3D *v3d, struct Base *base);
^~~~~~~~~~~~~~~~~~~
[597/2992] Building C object source/blender/editors/transform/CMakeFiles/bf_editor_transform.dir/transform_snap_object.c.o
In file included from /home/brecht/dev/worktree/source/blender/editors/transform/transform_snap_object.c:37:0:
/home/brecht/dev/worktree/source/blender/editors/transform/transform_snap_object.c: In function ‘iter_snap_objects’:
/home/brecht/dev/worktree/source/blender/editors/transform/transform_snap_object.c:226:23: warning: passing argument 1 of ‘BKE_base_is_visible’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
if (!BASE_VISIBLE(v3d, base)) {
^
/home/brecht/dev/worktree/source/blender/makesdna/DNA_scene_types.h:1979:53: note: in definition of macro ‘BASE_VISIBLE’
#define BASE_VISIBLE(v3d, base) BKE_base_is_visible(v3d, base)
^~~
In file included from /home/brecht/dev/worktree/source/blender/editors/transform/transform_snap_object.c:50:0:
/home/brecht/dev/worktree/source/blender/blenkernel/BKE_layer.h:117:6: note: expected ‘struct View3D *’ but argument is of type ‘const View3D * {aka const struct View3D *}’
bool BKE_base_is_visible(struct View3D *v3d, struct Base *base);
/home/brecht/dev/worktree/source/blender/alembic/intern/abc_exporter.cc: In function ‘bool export_object(const ExportSettings*, const Base*, bool)’:
/home/brecht/dev/worktree/source/blender/makesdna/DNA_scene_types.h:1979:33: error: ‘BKE_base_is_visible’ was not declared in this scope
#define BASE_VISIBLE(v3d, base) BKE_base_is_visible(v3d, base)
^
/home/brecht/dev/worktree/source/blender/makesdna/DNA_scene_types.h:1979:33: note: in definition of macro ‘BASE_VISIBLE’
#define BASE_VISIBLE(v3d, base) BKE_base_is_visible(v3d, base)
^~~~~~~~~~~~~~~~~~~
/home/brecht/dev/worktree/source/blender/alembic/intern/abc_exporter.cc:158:37: note: in expansion of macro ‘BASE_SELECTED’
if (settings->selected_only && !BASE_SELECTED(v3d, base)) {
^
/home/brecht/dev/worktree/source/blender/makesdna/DNA_scene_types.h:1979:33: note: suggested alternative: ‘BKE_mball_is_basis’
#define BASE_VISIBLE(v3d, base) BKE_base_is_visible(v3d, base)
^
/home/brecht/dev/worktree/source/blender/makesdna/DNA_scene_types.h:1979:33: note: in definition of macro ‘BASE_VISIBLE’
#define BASE_VISIBLE(v3d, base) BKE_base_is_visible(v3d, base)
^~~~~~~~~~~~~~~~~~~
/home/brecht/dev/worktree/source/blender/alembic/intern/abc_exporter.cc:158:37: note: in expansion of macro ‘BASE_SELECTED’
if (settings->selected_only && !BASE_SELECTED(v3d, base)) {
^
/home/brecht/dev/worktree/source/blender/makesdna/DNA_scene_types.h:1979:33: error: ‘BKE_base_is_visible’ was not declared in this scope
#define BASE_VISIBLE(v3d, base) BKE_base_is_visible(v3d, base)
^
/home/brecht/dev/worktree/source/blender/makesdna/DNA_scene_types.h:1979:33: note: in definition of macro ‘BASE_VISIBLE’
#define BASE_VISIBLE(v3d, base) BKE_base_is_visible(v3d, base)
^~~~~~~~~~~~~~~~~~~
/home/brecht/dev/worktree/source/blender/makesdna/DNA_scene_types.h:1979:33: note: suggested alternative: ‘BKE_mball_is_basis’
#define BASE_VISIBLE(v3d, base) BKE_base_is_visible(v3d, base)
^
/home/brecht/dev/worktree/source/blender/makesdna/DNA_scene_types.h:1979:33: note: in definition of macro ‘BASE_VISIBLE’
#define BASE_VISIBLE(v3d, base) BKE_base_is_visible(v3d, base)
^~~~~~~~~~~~~~~~~~~