office-gobmx/liblangtag/liblangtag-0.2-msvc-warning.patch
Stephan Bergmann 976deb6b99 MSVC warning C4510: default constructor could not be generated
and warning C4610: struct can never be instantiated - user defined constructor
required

Change-Id: Ie387f62def8a3d282f39f861971f25ff52df73d3
2012-08-08 08:49:18 +02:00

21 lines
878 B
Diff

--- misc/liblangtag-0.2/liblangtag/lt-ext-module.h 2012-02-02 06:02:45.000000000 +0100
+++ misc/build/liblangtag-0.2/liblangtag/lt-ext-module.h 2012-08-08 08:46:57.810860044 +0200
@@ -151,12 +151,12 @@
* and #lt_ext_module_t and extend features.
*/
struct _lt_ext_module_funcs_t {
- const lt_ext_module_singleton_func_t get_singleton;
- const lt_ext_module_data_new_func_t create_data;
- const lt_ext_module_precheck_func_t precheck_tag;
- const lt_ext_module_parse_func_t parse_tag;
- const lt_ext_module_get_tag_func_t get_tag;
- const lt_ext_module_validate_func_t validate_tag;
+ lt_ext_module_singleton_func_t get_singleton;
+ lt_ext_module_data_new_func_t create_data;
+ lt_ext_module_precheck_func_t precheck_tag;
+ lt_ext_module_parse_func_t parse_tag;
+ lt_ext_module_get_tag_func_t get_tag;
+ lt_ext_module_validate_func_t validate_tag;
};