Created
October 19, 2016 18:35
-
-
Save maffblaster/f43bd815f5959986fafa5748591de9b7 to your computer and use it in GitHub Desktop.
Output from clang++ -I../third_party -I../third_party/imgui -I/usr/include/SDL2 milton_unity_build.cc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In file included from milton_unity_build.cc:22: | |
./platform.h:145:5: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] | |
INVALID_CODE_PATH; // Use platform_fopen | |
^~~~~~~~~~~~~~~~~ | |
./common.h:70:27: note: expanded from macro 'INVALID_CODE_PATH' | |
#define INVALID_CODE_PATH mlt_assert(!"Invalid code path") | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./common.h:66:59: note: expanded from macro 'mlt_assert' | |
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0) | |
^~~~~~~~ | |
./platform.h:145:5: note: consider using __builtin_trap() or qualifying pointer with 'volatile' | |
./common.h:70:27: note: expanded from macro 'INVALID_CODE_PATH' | |
#define INVALID_CODE_PATH mlt_assert(!"Invalid code path") | |
^ | |
./common.h:66:59: note: expanded from macro 'mlt_assert' | |
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0) | |
^ | |
In file included from milton_unity_build.cc:24: | |
./DArray.h:43:35: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
milton_die_gracefully("Milton ran out of memory :("); | |
^ | |
./DArray.h:111:9: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] | |
mlt_assert(!"Attempting to pop from an empty array."); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./common.h:66:59: note: expanded from macro 'mlt_assert' | |
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0) | |
^~~~~~~~ | |
./DArray.h:111:9: note: consider using __builtin_trap() or qualifying pointer with 'volatile' | |
./common.h:66:59: note: expanded from macro 'mlt_assert' | |
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0) | |
^ | |
In file included from milton_unity_build.cc:24: | |
./DArray.h:134:9: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] | |
mlt_free(arr->data); | |
^~~~~~~~~~~~~~~~~~~ | |
./memory.h:12:71: note: expanded from macro 'mlt_free' | |
#define mlt_free(ptr) do { if (ptr) { free(ptr); ptr = NULL; } else { mlt_assert(!"Freeing null"); } } while(0) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./common.h:66:59: note: expanded from macro 'mlt_assert' | |
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0) | |
^~~~~~~~ | |
./DArray.h:134:9: note: consider using __builtin_trap() or qualifying pointer with 'volatile' | |
./memory.h:12:71: note: expanded from macro 'mlt_free' | |
#define mlt_free(ptr) do { if (ptr) { free(ptr); ptr = NULL; } else { mlt_assert(!"Freeing null"); } } while(0) | |
^ | |
./common.h:66:59: note: expanded from macro 'mlt_assert' | |
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0) | |
^ | |
In file included from milton_unity_build.cc:33: | |
./platform_unix.cc:70:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] | |
milton_log(message); | |
^~~~~~~ | |
./platform_unix.cc:104:5: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] | |
mlt_assert(ptr); | |
^~~~~~~~~~~~~~~ | |
./common.h:66:59: note: expanded from macro 'mlt_assert' | |
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0) | |
^~~~~~~~ | |
./platform_unix.cc:104:5: note: consider using __builtin_trap() or qualifying pointer with 'volatile' | |
./common.h:66:59: note: expanded from macro 'mlt_assert' | |
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0) | |
^ | |
In file included from milton_unity_build.cc:45: | |
./utils.cc:20:15: error: expected '(' for function-style cast or type construction | |
return v2i{(i32)p.x, (i32)p.y}; | |
~~~^ | |
./utils.cc:25:15: error: expected '(' for function-style cast or type construction | |
return v2f{(f32)p.x, (f32)p.y}; | |
~~~^ | |
./utils.cc:54:5: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] | |
mlt_assert (0 <= d && d < 360); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./common.h:66:59: note: expanded from macro 'mlt_assert' | |
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0) | |
^~~~~~~~ | |
./utils.cc:54:5: note: consider using __builtin_trap() or qualifying pointer with 'volatile' | |
./common.h:66:59: note: expanded from macro 'mlt_assert' | |
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0) | |
^ | |
In file included from milton_unity_build.cc:45: | |
./utils.cc:121:17: error: expected '(' for function-style cast or type construction | |
result = v2f{(ax + disc * d_x), (ay + disc * d_y)}; | |
~~~^ | |
./utils.cc:142:17: error: expected '(' for function-style cast or type construction | |
result = v2i{(i32)(a.x + disc * d_x), (i32)(a.y + disc * d_y)}; | |
~~~^ | |
./utils.cc:199:5: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] | |
mlt_assert((i32)rects.count <= max_num_rects); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./common.h:66:59: note: expanded from macro 'mlt_assert' | |
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0) | |
^~~~~~~~ | |
./utils.cc:199:5: note: consider using __builtin_trap() or qualifying pointer with 'volatile' | |
./common.h:66:59: note: expanded from macro 'mlt_assert' | |
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0) | |
^ | |
In file included from milton_unity_build.cc:45: | |
./utils.cc:291:5: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] | |
mlt_assert (num_points > 0); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./common.h:66:59: note: expanded from macro 'mlt_assert' | |
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0) | |
^~~~~~~~ | |
./utils.cc:291:5: note: consider using __builtin_trap() or qualifying pointer with 'volatile' | |
./common.h:66:59: note: expanded from macro 'mlt_assert' | |
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0) | |
^ | |
In file included from milton_unity_build.cc:45: | |
./utils.cc:326:5: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] | |
mlt_assert (num_points > 0); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./common.h:66:59: note: expanded from macro 'mlt_assert' | |
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0) | |
^~~~~~~~ | |
./utils.cc:326:5: note: consider using __builtin_trap() or qualifying pointer with 'volatile' | |
./common.h:66:59: note: expanded from macro 'mlt_assert' | |
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0) | |
^ | |
In file included from milton_unity_build.cc:46: | |
./localization.cc:28:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_file, "File"); | |
^ | |
./localization.cc:29:36: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_open_milton_canvas, "Open Milton Canvas"); | |
^ | |
./localization.cc:30:38: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_export_to_image_DOTS, "Export to Image..."); | |
^ | |
./localization.cc:31:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_quit, "Quit"); | |
^ | |
./localization.cc:32:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_canvas, "Canvas"); | |
^ | |
./localization.cc:33:38: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_set_background_color, "Set Background Color"); | |
^ | |
./localization.cc:34:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_help, "Help"); | |
^ | |
./localization.cc:35:25: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_help_me, "Help me!"); | |
^ | |
./localization.cc:36:25: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_brushes, "Brushes"); | |
^ | |
./localization.cc:37:25: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_opacity, "Opacity"); | |
^ | |
./localization.cc:38:28: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_brush_size, "Brush size"); | |
^ | |
./localization.cc:39:33: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_switch_to_brush, "Switch to brush"); | |
^ | |
./localization.cc:40:34: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_switch_to_eraser, "Switch to eraser"); | |
^ | |
./localization.cc:41:41: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_choose_background_color, "Choose background color"); | |
^ | |
./localization.cc:42:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_color, "Color"); | |
^ | |
./localization.cc:43:29: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_export_DOTS, "Export..."); | |
^ | |
./localization.cc:44:48: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_MSG_click_and_drag_instruction, "Click and drag to select the area to export."); | |
^ | |
./localization.cc:45:35: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_current_selection, "Current selection"); | |
^ | |
./localization.cc:46:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_scale_up, "Scale up"); | |
^ | |
./localization.cc:47:34: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_final_image_size, "Final image size"); | |
^ | |
./localization.cc:48:48: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_export_selection_to_image_DOTS, "Export selection to image..."); | |
^ | |
./localization.cc:49:42: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_MSG_memerr_did_not_write, "Did not write file. Not enough memory available for operation."); | |
^ | |
./localization.cc:50:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_error, "Error"); | |
^ | |
./localization.cc:51:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_cancel, "Cancel"); | |
^ | |
./localization.cc:52:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_view, "View"); | |
^ | |
./localization.cc:53:39: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_toggle_gui_visibility, "Toggle GUI Visibility"); | |
^ | |
./localization.cc:54:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_layers, "Layers"); | |
^ | |
./localization.cc:55:27: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_new_layer, "New Layer"); | |
^ | |
./localization.cc:56:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_rename, "Rename"); | |
^ | |
./localization.cc:57:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_move, "Move"); | |
^ | |
./localization.cc:58:29: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_move_canvas, "Move canvas"); | |
^ | |
./localization.cc:59:36: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_stop_moving_canvas, "Stop moving"); | |
^ | |
./localization.cc:60:20: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_up, "Up"); | |
^ | |
./localization.cc:61:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_down, "Down"); | |
^ | |
./localization.cc:62:30: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_are_you_sure, "Are you sure?"); | |
^ | |
./localization.cc:63:32: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_cant_be_undone, "Can't be undone"); | |
^ | |
./localization.cc:64:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_yes, "Yes"); | |
^ | |
./localization.cc:65:20: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_no, "No"); | |
^ | |
./localization.cc:66:20: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_ok, "OK"); | |
^ | |
./localization.cc:67:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_delete, "Delete"); | |
^ | |
./localization.cc:68:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_edit, "Edit"); | |
^ | |
./localization.cc:69:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_undo, "Undo"); | |
^ | |
./localization.cc:70:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_redo, "Redo"); | |
^ | |
./localization.cc:71:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_tools, "Tools"); | |
^ | |
./localization.cc:72:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_brush, "Brush"); | |
^ | |
./localization.cc:73:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_eraser, "Eraser"); | |
^ | |
./localization.cc:74:25: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_zoom_in, "Zoom In"); | |
^ | |
./localization.cc:75:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_zoom_out, "Zoom Out"); | |
^ | |
./localization.cc:76:31: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_brush_options, "Brush Options"); | |
^ | |
./localization.cc:77:32: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_set_opacity_to, "Set brush opacity to"); | |
^ | |
./localization.cc:78:44: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_save_milton_canvas_as_DOTS, "Save Milton Canvas As..."); | |
^ | |
./localization.cc:79:35: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_new_milton_canvas, "New Milton Canvas"); | |
^ | |
./localization.cc:80:37: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_decrease_brush_size, "Decrease Brush Size"); | |
^ | |
./localization.cc:81:37: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_increase_brush_size, "Increase Brush Size"); | |
^ | |
./localization.cc:82:29: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_eye_dropper, "Eye Dropper"); | |
^ | |
./localization.cc:83:32: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_milton_version, "Milton Version"); | |
^ | |
./localization.cc:84:25: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_website, "Website"); | |
^ | |
./localization.cc:85:42: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_disable_stroke_smoothing, "Disable Stroke Smoothing"); | |
^ | |
./localization.cc:86:41: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
EN(TXT_enable_stroke_smoothing, "Enable Stroke Smoothing"); | |
^ | |
./localization.cc:90:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
ES(TXT_file, "Archivo"); | |
^ | |
./localization.cc:91:36: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
ES(TXT_open_milton_canvas, "Abrir Lienzo"); | |
^ | |
./localization.cc:92:38: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
ES(TXT_export_to_image_DOTS, "Exportar a Imagen..."); | |
^ | |
./localization.cc:93:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
ES(TXT_quit, "Salir"); | |
^ | |
./localization.cc:94:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
ES(TXT_canvas, "Lienzo"); | |
^ | |
./localization.cc:95:38: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
ES(TXT_set_background_color, "Cambiar Color de Fondo"); | |
^ | |
./localization.cc:96:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
ES(TXT_help, "Ayuda"); | |
^ | |
./localization.cc:97:25: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
ES(TXT_brushes, "Brochas"); | |
^ | |
./localization.cc:98:25: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
ES(TXT_opacity, "Opacidad"); | |
^ | |
./localization.cc:99:28: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
ES(TXT_brush_size, "Tamaño"); | |
^ | |
./localization.cc:100:33: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
ES(TXT_switch_to_brush, "Usar brocha"); | |
^ | |
./localization.cc:101:34: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
ES(TXT_switch_to_eraser, "Usar goma"); | |
^ | |
./localization.cc:102:41: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
ES(TXT_choose_background_color, "Escoger color de fondo"); | |
^ | |
./localization.cc:103:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
ES(TXT_color, "Color"); | |
^ | |
./localization.cc:104:29: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
ES(TXT_export_DOTS, "Exportar..."); | |
^ | |
./localization.cc:105:48: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
ES(TXT_MSG_click_and_drag_instruction, "Haz click y Arrastra"); | |
^ | |
./localization.cc:106:35: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
ES(TXT_current_selection, "Selección actual"); | |
^ | |
./localization.cc:107:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
ES(TXT_scale_up, "Escalar"); | |
^ | |
./localization.cc:108:34: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
ES(TXT_final_image_size, "Tamaño final"); | |
^ | |
./localization.cc:109:48: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
ES(TXT_export_selection_to_image_DOTS, "Exportar Selección a Imagen..."); | |
^ | |
./localization.cc:110:42: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
ES(TXT_MSG_memerr_did_not_write, "No se escribió archivo. No hay suficiente memoria."); | |
^ | |
./localization.cc:111:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
ES(TXT_error, "Error"); | |
^ | |
./localization.cc:112:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
ES(TXT_cancel, "Cancelar"); | |
^ | |
./localization.cc:113:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
ES(TXT_view, "Vista"); | |
^ | |
./localization.cc:114:39: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
ES(TXT_toggle_gui_visibility, "Mostrar/Ocultar Interfaz"); | |
^ | |
./localization.cc:115:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
ES(TXT_layers, "Capas"); | |
^ | |
./localization.cc:127:63: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
g_command_abbreviations [TXT_export_to_image_DOTS] = C("E"); | |
^ | |
./localization.cc:120:14: note: expanded from macro 'C' | |
#define C(s) "Ctrl+" s | |
^ | |
./localization.cc:128:63: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
g_command_abbreviations [TXT_quit] = C("Q"); | |
^ | |
./localization.cc:120:14: note: expanded from macro 'C' | |
#define C(s) "Ctrl+" s | |
^ | |
./localization.cc:129:63: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
g_command_abbreviations [TXT_toggle_gui_visibility] = "TAB"; | |
^ | |
./localization.cc:130:63: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
g_command_abbreviations [TXT_brush] = "B"; | |
^ | |
./localization.cc:131:63: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
g_command_abbreviations [TXT_eraser] = "E"; | |
^ | |
./localization.cc:132:63: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
g_command_abbreviations [TXT_undo] = C("Z"); | |
^ | |
./localization.cc:120:14: note: expanded from macro 'C' | |
#define C(s) "Ctrl+" s | |
^ | |
./localization.cc:133:63: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
g_command_abbreviations [TXT_redo] = C("Shift+Z"); | |
^ | |
./localization.cc:120:14: note: expanded from macro 'C' | |
#define C(s) "Ctrl+" s | |
^ | |
./localization.cc:134:63: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
g_command_abbreviations [TXT_zoom_in] = C(" +"); | |
^ | |
./localization.cc:120:14: note: expanded from macro 'C' | |
#define C(s) "Ctrl+" s | |
^ | |
./localization.cc:135:63: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
g_command_abbreviations [TXT_zoom_out] = C(" -"); | |
^ | |
./localization.cc:120:14: note: expanded from macro 'C' | |
#define C(s) "Ctrl+" s | |
^ | |
./localization.cc:136:63: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
g_command_abbreviations [TXT_move_canvas] = "SPACE"; | |
^ | |
./localization.cc:137:63: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
g_command_abbreviations [TXT_stop_moving_canvas] = "SPACE"; | |
^ | |
./localization.cc:138:63: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
g_command_abbreviations [TXT_decrease_brush_size] = " [ "; | |
^ | |
./localization.cc:139:63: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
g_command_abbreviations [TXT_increase_brush_size] = " ] "; | |
^ | |
./localization.cc:140:63: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
g_command_abbreviations [TXT_eye_dropper] = "i"; | |
^ | |
./localization.cc:141:63: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
g_command_abbreviations [TXT_switch_to_brush] = "B"; | |
^ | |
./localization.cc:142:63: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
g_command_abbreviations [TXT_switch_to_eraser] = "E"; | |
^ | |
./localization.cc:167:32: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
char* spacer = " - "; | |
^ | |
./localization.cc:185:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
result = "STRING NEEDS LOCALIZATION"; | |
^ | |
In file included from milton_unity_build.cc:48: | |
./gl_helpers.cc:53:16: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
gl_log("Shader compilation info. \n ---- Info log:\n"); | |
^ | |
./gl_helpers.cc:58:13: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] | |
mlt_assert(!"Shader compilation error"); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./common.h:66:59: note: expanded from macro 'mlt_assert' | |
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0) | |
^~~~~~~~ | |
./gl_helpers.cc:58:13: note: consider using __builtin_trap() or qualifying pointer with 'volatile' | |
./common.h:66:59: note: expanded from macro 'mlt_assert' | |
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0) | |
^ | |
In file included from milton_unity_build.cc:48: | |
./gl_helpers.cc:95:16: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
gl_log("ERROR: program did not link.\n"); | |
^ | |
./gl_helpers.cc:81:5: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] | |
mlt_assert(glIsProgram (obj)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./common.h:66:59: note: expanded from macro 'mlt_assert' | |
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0) | |
^~~~~~~~ | |
./gl_helpers.cc:81:5: note: consider using __builtin_trap() or qualifying pointer with 'volatile' | |
./common.h:66:59: note: expanded from macro 'mlt_assert' | |
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0) | |
^ | |
In file included from milton_unity_build.cc:48: | |
./gl_helpers.cc:84:9: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] | |
mlt_assert(glIsShader(shaders[i])); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./common.h:66:59: note: expanded from macro 'mlt_assert' | |
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0) | |
^~~~~~~~ | |
./gl_helpers.cc:84:9: note: consider using __builtin_trap() or qualifying pointer with 'volatile' | |
./common.h:66:59: note: expanded from macro 'mlt_assert' | |
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0) | |
^ | |
In file included from milton_unity_build.cc:48: | |
./gl_helpers.cc:104:9: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] | |
mlt_assert(!"program linking error"); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./common.h:66:59: note: expanded from macro 'mlt_assert' | |
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0) | |
^~~~~~~~ | |
./gl_helpers.cc:104:9: note: consider using __builtin_trap() or qualifying pointer with 'volatile' | |
./common.h:66:59: note: expanded from macro 'mlt_assert' | |
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0) | |
^ | |
In file included from milton_unity_build.cc:50: | |
./profiler.h:61:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
"render_canvas", | |
^ | |
./profiler.h:62:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
"sse2", | |
^ | |
./profiler.h:63:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
"preamble", | |
^ | |
./profiler.h:64:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
"load", | |
^ | |
./profiler.h:65:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
"work", | |
^ | |
./profiler.h:66:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
"gather", | |
^ | |
./profiler.h:67:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
"sampling", | |
^ | |
./profiler.h:68:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
"total_work_loop", | |
^ | |
./profiler.h:69:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] | |
"sample", | |
^ | |
In file included from milton_unity_build.cc:54: | |
./StrokeList.h:54:5: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] | |
mlt_assert(idx < list->count); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./common.h:66:59: note: expanded from macro 'mlt_assert' | |
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0) | |
^~~~~~~~ | |
./StrokeList.h:54:5: note: consider using __builtin_trap() or qualifying pointer with 'volatile' | |
./common.h:66:59: note: expanded from macro 'mlt_assert' | |
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0) | |
^ | |
In file included from milton_unity_build.cc:54: | |
./StrokeList.h:103:23: error: expected expression | |
*bucket = {}; | |
^ | |
./StrokeList.h:99:13: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] | |
mlt_free(bucket); | |
^~~~~~~~~~~~~~~~ | |
./memory.h:12:71: note: expanded from macro 'mlt_free' | |
#define mlt_free(ptr) do { if (ptr) { free(ptr); ptr = NULL; } else { mlt_assert(!"Freeing null"); } } while(0) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./common.h:66:59: note: expanded from macro 'mlt_assert' | |
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0) | |
^~~~~~~~ | |
./StrokeList.h:99:13: note: consider using __builtin_trap() or qualifying pointer with 'volatile' | |
./memory.h:12:71: note: expanded from macro 'mlt_free' | |
#define mlt_free(ptr) do { if (ptr) { free(ptr); ptr = NULL; } else { mlt_assert(!"Freeing null"); } } while(0) | |
^ | |
./common.h:66:59: note: expanded from macro 'mlt_assert' | |
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0) | |
^ | |
In file included from milton_unity_build.cc:54: | |
./StrokeList.h:117:5: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] | |
mlt_assert(i < this->count); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./common.h:66:59: note: expanded from macro 'mlt_assert' | |
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0) | |
^~~~~~~~ | |
./StrokeList.h:117:5: note: consider using __builtin_trap() or qualifying pointer with 'volatile' | |
./common.h:66:59: note: expanded from macro 'mlt_assert' | |
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0) | |
^ | |
In file included from milton_unity_build.cc:56: | |
./canvas.cc:171:5: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] | |
mlt_free(stroke->points); | |
^~~~~~~~~~~~~~~~~~~~~~~~ | |
./memory.h:12:71: note: expanded from macro 'mlt_free' | |
#define mlt_free(ptr) do { if (ptr) { free(ptr); ptr = NULL; } else { mlt_assert(!"Freeing null"); } } while(0) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./common.h:66:59: note: expanded from macro 'mlt_assert' | |
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0) | |
^~~~~~~~ | |
./canvas.cc:171:5: note: consider using __builtin_trap() or qualifying pointer with 'volatile' | |
./memory.h:12:71: note: expanded from macro 'mlt_free' | |
#define mlt_free(ptr) do { if (ptr) { free(ptr); ptr = NULL; } else { mlt_assert(!"Freeing null"); } } while(0) | |
^ | |
./common.h:66:59: note: expanded from macro 'mlt_assert' | |
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0) | |
^ | |
In file included from milton_unity_build.cc:56: | |
./canvas.cc:172:5: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] | |
mlt_free(stroke->pressures); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./memory.h:12:71: note: expanded from macro 'mlt_free' | |
#define mlt_free(ptr) do { if (ptr) { free(ptr); ptr = NULL; } else { mlt_assert(!"Freeing null"); } } while(0) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./common.h:66:59: note: expanded from macro 'mlt_assert' | |
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0) | |
^~~~~~~~ | |
./canvas.cc:172:5: note: consider using __builtin_trap() or qualifying pointer with 'volatile' | |
./memory.h:12:71: note: expanded from macro 'mlt_free' | |
#define mlt_free(ptr) do { if (ptr) { free(ptr); ptr = NULL; } else { mlt_assert(!"Freeing null"); } } while(0) | |
^ | |
./common.h:66:59: note: expanded from macro 'mlt_assert' | |
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0) | |
^ | |
In file included from milton_unity_build.cc:59: | |
./color.cc:190:5: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] | |
mlt_assert (rgb.r >= 0.0f && rgb.r <= 1.0f); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./common.h:66:59: note: expanded from macro 'mlt_assert' | |
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0) | |
^~~~~~~~ | |
./color.cc:190:5: note: consider using __builtin_trap() or qualifying pointer with 'volatile' | |
./common.h:66:59: note: expanded from macro 'mlt_assert' | |
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0) | |
^ | |
In file included from milton_unity_build.cc:59: | |
./color.cc:191:5: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] | |
mlt_assert (rgb.g >= 0.0f && rgb.g <= 1.0f); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./common.h:66:59: note: expanded from macro 'mlt_assert' | |
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0) | |
^~~~~~~~ | |
./color.cc:191:5: note: consider using __builtin_trap() or qualifying pointer with 'volatile' | |
./common.h:66:59: note: expanded from macro 'mlt_assert' | |
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0) | |
^ | |
In file included from milton_unity_build.cc:59: | |
./color.cc:192:5: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] | |
mlt_assert (rgb.b >= 0.0f && rgb.b <= 1.0f); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./common.h:66:59: note: expanded from macro 'mlt_assert' | |
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0) | |
^~~~~~~~ | |
./color.cc:192:5: note: consider using __builtin_trap() or qualifying pointer with 'volatile' | |
./common.h:66:59: note: expanded from macro 'mlt_assert' | |
#define mlt_assert(expr) do { if (!(bool)(expr)) { (*(u32*)0) = 0xDeAdBeEf; } } while(0) | |
^ | |
In file included from milton_unity_build.cc:64: | |
./hardware_renderer.cc:4:10: fatal error: 'shaders.gen.h' file not found | |
#include "shaders.gen.h" | |
^ | |
136 warnings and 6 errors generated. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment