Kaydet (Commit) 976deb6b authored tarafından Stephan Bergmann's avatar Stephan Bergmann

MSVC warning C4510: default constructor could not be generated

and warning C4610: struct can never be instantiated - user defined constructor
required

Change-Id: Ie387f62def8a3d282f39f861971f25ff52df73d3
üst 2b54f2b2
--- 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;
};
......@@ -40,6 +40,7 @@ PATCH_FILES=liblangtag-0.2-0001-Fix-a-memory-leak.patch
PATCH_FILES+=liblangtag-0.2-0002-Fix-invalid-memory-access.patch
PATCH_FILES+=liblangtag-0.2-configure.patch
PATCH_FILES+=liblangtag-0.2-datadir.patch
PATCH_FILES+=liblangtag-0.2-msvc-warning.patch
CONFIGURE_DIR=.
BUILD_DIR=$(CONFIGURE_DIR)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment