This is the mail archive of the libc-hacker@sourceware.org mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, with the changes to the posix/regex* files, I get a very long list of error messages about conflicting types. In all cases the prototype has "internal_function", but the function body not. Add internal_function to the body solves the problem. What is the correct fix for this? Adding the attribute, a newer compiler (I'm using 4.0.2 20050901) or other changes? Thanks, Thorsten In file included from regex.c:63: regex_internal.c:131: error: conflicting types for 're_string_realloc_buffers' regex_internal.h:383: error: previous declaration of 're_string_realloc_buffers' was here regex_internal.c:165: error: conflicting types for 're_string_construct_common' regex_internal.c:24: error: previous declaration of 're_string_construct_common' was here regex_internal.c:194: error: conflicting types for 'build_wcs_buffer' regex_internal.h:385: error: previous declaration of 'build_wcs_buffer' was here regex_internal.c:261: error: conflicting types for 'build_wcs_upper_buffer' regex_internal.h:386: error: previous declaration of 'build_wcs_upper_buffer' was here regex_internal.c:511: error: conflicting types for 'build_upper_buffer' regex_internal.h:388: error: previous declaration of 'build_upper_buffer' was here regex_internal.c:533: error: conflicting types for 're_string_translate_buffer' regex_internal.h:389: error: previous declaration of 're_string_translate_buffer' was here regex_internal.c:830: error: conflicting types for 're_string_context_at' regex_internal.h:392: error: previous declaration of 're_string_context_at' was here regex_internal.c:1516: error: conflicting types for 'create_ci_newstate' regex_internal.c:27: error: previous declaration of 'create_ci_newstate' was here regex_internal.c:1565: error: conflicting types for 'create_cd_newstate' regex_internal.c:31: error: previous declaration of 'create_cd_newstate' was here In file included from regex.c:65: regexec.c:1069: error: conflicting types for 'check_matching' regexec.c:58: error: previous declaration of 'check_matching' was here regexec.c:1219: error: conflicting types for 'check_halt_state_context' regexec.c:61: error: previous declaration of 'check_halt_state_context' was here regexec.c:1340: error: conflicting types for 'push_fail_stack' regexec.c:69: error: previous declaration of 'push_fail_stack' was here regexec.c:1386: error: conflicting types for 'set_regs' regexec.c:73: error: previous declaration of 'set_regs' was here regexec.c:1491: error: conflicting types for 'free_fail_stack_return' regexec.c:75: error: previous declaration of 'free_fail_stack_return' was here regexec.c:1508: error: conflicting types for 'update_regs' regexec.c:64: error: previous declaration of 'update_regs' was here regexec.c:1578: error: conflicting types for 'sift_states_backward' regexec.c:85: error: previous declaration of 'sift_states_backward' was here regexec.c:1636: error: conflicting types for 'build_sifted_states' regexec.c:89: error: previous declaration of 'build_sifted_states' was here regexec.c:1722: error: conflicting types for 'merge_state_array' regexec.c:124: error: previous declaration of 'merge_state_array' was here regexec.c:1749: error: conflicting types for 'update_cur_sifted_state' regexec.c:94: error: previous declaration of 'update_cur_sifted_state' was here regexec.c:1795: error: conflicting types for 'add_epsilon_src_nodes' regexec.c:98: error: previous declaration of 'add_epsilon_src_nodes' was here regexec.c:1868: error: conflicting types for 'check_dst_limits' regexec.c:102: error: previous declaration of 'check_dst_limits' was here regexec.c:1903: error: conflicting types for 'check_dst_limits_calc_pos_1' regexec.c:106: error: previous declaration of 'check_dst_limits_calc_pos_1' was here regexec.c:1984: error: conflicting types for 'check_dst_limits_calc_pos' regexec.c:110: error: previous declaration of 'check_dst_limits_calc_pos' was here regexec.c:2013: error: conflicting types for 'check_subexp_limits' regexec.c:116: error: previous declaration of 'check_subexp_limits' was here regexec.c:2099: error: conflicting types for 'sift_states_bkref' regexec.c:120: error: previous declaration of 'sift_states_bkref' was here regexec.c:2198: error: conflicting types for 'sift_states_iter_mb' regexec.c:81: error: previous declaration of 'sift_states_iter_mb' was here regexec.c:2227: error: conflicting types for 'transit_state' regexec.c:129: error: previous declaration of 'transit_state' was here regexec.c:2284: error: conflicting types for 'merge_state_with_log' regexec.c:133: error: previous declaration of 'merge_state_with_log' was here regexec.c:2361: error: conflicting types for 'find_recover_state' regexec.c:126: error: previous declaration of 'find_recover_state' was here regexec.c:2392: error: conflicting types for 'check_subexp_matching_top' regexec.c:136: error: previous declaration of 'check_subexp_matching_top' was here regexec.c:2463: error: conflicting types for 'transit_state_mb' regexec.c:146: error: previous declaration of 'transit_state_mb' was here -- Thorsten Kukuk http://www.suse.de/~kukuk/ kukuk@suse.de SUSE LINUX Products GmbH Maxfeldstr. 5 D-90409 Nuernberg -------------------------------------------------------------------- Key fingerprint = A368 676B 5E1B 3E46 CFCE 2D97 F8FD 4E23 56C6 FB4B
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |