On Thursday, June 23, 2011 16:26:40 Michael Vacek wrote:
> I thought that your intention is to keep UrJTAG free of tabs, so I applied
> the same indentation rules on all modified files.

that's generally not the way patches should be done.  you break things up into 
independent logical sets so that people can easily review things.

in the configure.ac file, you do:
> +dnl Enable STAPL player?
> +AC_ARG_ENABLE(stapl,
> +[AS_HELP_STRING([--disable-stapl], [Disable STAPL player])],
> +[case "${enableval}" in
> +   yes) stapl=true ;;
> +   no)  stapl=false ;;
> +   *)   AC_MSG_ERROR(bad value ${enableval} for --enable-stapl) ;;
> + esac],
> +[stapl=$stapl_lexer])

where is that stapl_lexer coming from ?  i dont see any reference to it 
anywhere else ... perhaps you meant to set that earlier on and lost that hunk 
in the updated patch ?

> --- urjtag_1864//include/urjtag/stapl.h
> +++ urjtag//include/urjtag/stapl.h
> +#include <stdint.h>
> +#include <stdio.h>

neither are necessary for this file, so drop them

> +int urj_stapl_run (urj_chain_t *chain, char *STAPL_file_name,
> +            char *STAPL_action);

the 2nd line isnt properly indented

> --- urjtag_1864//src/cmd/cmd_stapl.c
> +++ urjtag//src/cmd/cmd_stapl.c
> +#include <stdint.h>
> +#include <stdio.h>
> +#include <stdlib.h>
> +#include <string.h>
> +#include <errno.h>

i dont think you need most (any?) of these headers

> +    int print_progress = 0;
> +    urj_log_level_t old_log_level = urj_log_state.level;

nothing ever sets print_progress, so punt it and the related old_log_level

> +static void
> +cmd_stapl_help (void)
> +{
> +    urj_log (URJ_LOG_LEVEL_NORMAL,
> +             _("Usage: %s FILE -aACTION\n"
> +               "Execute stapl commands from FILE.\n"
> +               "ACTION     : Name of stapl action"
> +               " to be executed from the FILE. \n"
> +               "\n" "FILE file containing stapl code\n"),

i dont think the "to be executed" part is indented properly, and there 
shouldnt be spaces before newlines

> +const urj_cmd_t urj_cmd_stapl = {
> +    "stapl",
> +    N_("execute stapl commands from file"),
> +    cmd_stapl_help,
> +    cmd_stapl_run
> +};

you could implement command line completion on file names.  look at 
cmd_include.c as an example.

> --- urjtag_1864//src/Makefile.am
> +++ urjtag//src/Makefile.am
>  
> +if ENABLE_STAPL
> +liburjtag_la_LIBADD +=  stapl/libstapl.la
> +endif

one space after the "+="

for the src/stapl/ directory, have you tried building it with -Werror ?  i 
just tried over here and it dumps *a lot* of stuff.  see attached log.  this 
is a fairly benign x86_64/linux system.
-mike
  CC     jamexec.lo
In file included from jamexec.c:29:0:
jamdefs.h:28:0: error: "NULL" redefined [-Werror]
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.0/include/stddef.h:402:0: note: this is the location of the previous definition
jamexec.c:518:5: error: no previous prototype for 'jam_find_keyword' [-Werror=missing-prototypes]
jamexec.c:560:17: error: no previous prototype for 'jam_get_array_subrange' [-Werror=missing-prototypes]
jamexec.c: In function 'jam_get_array_subrange':
jamexec.c:651:17: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
jamexec.c: At top level:
jamexec.c:680:17: error: no previous prototype for 'jam_convert_literal_binary' [-Werror=missing-prototypes]
jamexec.c: In function 'jam_convert_literal_binary':
jamexec.c:778:31: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
jamexec.c: At top level:
jamexec.c:813:17: error: no previous prototype for 'jam_convert_literal_array' [-Werror=missing-prototypes]
jamexec.c: In function 'jam_convert_literal_array':
jamexec.c:911:31: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
jamexec.c: At top level:
jamexec.c:946:17: error: no previous prototype for 'jam_convert_literal_aca' [-Werror=missing-prototypes]
jamexec.c:1114:17: error: no previous prototype for 'jam_get_array_argument' [-Werror=missing-prototypes]
jamexec.c: In function 'jam_get_array_argument':
jamexec.c:1403:43: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
jamexec.c: At top level:
jamexec.c:1444:17: error: no previous prototype for 'jam_find_argument' [-Werror=missing-prototypes]
jamexec.c:1498:17: error: no previous prototype for 'jam_process_uses_item' [-Werror=missing-prototypes]
jamexec.c:1775:17: error: no previous prototype for 'jam_process_uses_list' [-Werror=missing-prototypes]
jamexec.c:1844:17: error: no previous prototype for 'jam_call_procedure' [-Werror=missing-prototypes]
jamexec.c: In function 'jam_call_procedure':
jamexec.c:1988:27: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
jamexec.c: At top level:
jamexec.c:2074:17: error: no previous prototype for 'jam_call_procedure_from_action' [-Werror=missing-prototypes]
jamexec.c:2194:17: error: no previous prototype for 'jam_call_procedure_from_procedure' [-Werror=missing-prototypes]
jamexec.c: In function 'jam_call_procedure_from_procedure':
jamexec.c:2219:27: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
jamexec.c: At top level:
jamexec.c:2284:17: error: no previous prototype for 'jam_process_action' [-Werror=missing-prototypes]
jamexec.c:2448:17: error: no previous prototype for 'jam_process_boolean' [-Werror=missing-prototypes]
jamexec.c: In function 'jam_process_boolean':
jamexec.c:2583:48: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
jamexec.c:2604:48: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
jamexec.c: At top level:
jamexec.c:2682:17: error: no previous prototype for 'jam_process_call_or_goto' [-Werror=missing-prototypes]
jamexec.c:2960:17: error: no previous prototype for 'jam_process_drscan_compare' [-Werror=missing-prototypes]
jamexec.c: In function 'jam_process_drscan_compare':
jamexec.c:3043:31: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
jamexec.c:3143:27: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
jamexec.c:3212:27: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
jamexec.c: At top level:
jamexec.c:3335:17: error: no previous prototype for 'jam_process_drscan_capture' [-Werror=missing-prototypes]
jamexec.c: In function 'jam_process_drscan_capture':
jamexec.c:3402:27: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
jamexec.c: At top level:
jamexec.c:3434:17: error: no previous prototype for 'jam_process_drscan' [-Werror=missing-prototypes]
jamexec.c: In function 'jam_process_drscan':
jamexec.c:3544:27: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
jamexec.c: At top level:
jamexec.c:3604:1: error: no previous prototype for 'jam_process_drstop' [-Werror=missing-prototypes]
jamexec.c:3663:17: error: no previous prototype for 'jam_process_enddata' [-Werror=missing-prototypes]
jamexec.c:3686:17: error: no previous prototype for 'jam_process_exit' [-Werror=missing-prototypes]
jamexec.c: In function 'jam_process_exit':
jamexec.c:3752:9: error: suggest parentheses around '&&' within '||' [-Werror=parentheses]
jamexec.c: At top level:
jamexec.c:3772:17: error: no previous prototype for 'jam_process_export' [-Werror=missing-prototypes]
jamexec.c: In function 'jam_process_export':
jamexec.c:3903:54: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
jamexec.c: At top level:
jamexec.c:3989:17: error: no previous prototype for 'jam_process_for' [-Werror=missing-prototypes]
jamexec.c:4262:17: error: no previous prototype for 'jam_process_frequency' [-Werror=missing-prototypes]
jamexec.c:4353:17: error: no previous prototype for 'jam_process_if' [-Werror=missing-prototypes]
jamexec.c:4442:17: error: no previous prototype for 'jam_process_integer' [-Werror=missing-prototypes]
jamexec.c: In function 'jam_process_integer':
jamexec.c:4568:48: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
jamexec.c:4586:48: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
jamexec.c: At top level:
jamexec.c:4668:17: error: no previous prototype for 'jam_process_irscan_compare' [-Werror=missing-prototypes]
jamexec.c: In function 'jam_process_irscan_compare':
jamexec.c:4749:27: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
jamexec.c:4818:27: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
jamexec.c: At top level:
jamexec.c:4928:17: error: no previous prototype for 'jam_process_irscan_capture' [-Werror=missing-prototypes]
jamexec.c: In function 'jam_process_irscan_capture':
jamexec.c:4995:27: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
jamexec.c: At top level:
jamexec.c:5027:17: error: no previous prototype for 'jam_process_irscan' [-Werror=missing-prototypes]
jamexec.c: In function 'jam_process_irscan':
jamexec.c:5137:27: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
jamexec.c: At top level:
jamexec.c:5210:17: error: no previous prototype for 'jam_process_irstop' [-Werror=missing-prototypes]
jamexec.c:5272:17: error: no previous prototype for 'jam_copy_array_subrange' [-Werror=missing-prototypes]
jamexec.c:5328:6: error: no previous prototype for 'jam_check_assignment' [-Werror=missing-prototypes]
jamexec.c:5373:17: error: no previous prototype for 'jam_process_assignment' [-Werror=missing-prototypes]
jamexec.c: In function 'jam_process_assignment':
jamexec.c:5551:35: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
jamexec.c:5714:51: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
jamexec.c: At top level:
jamexec.c:5839:17: error: no previous prototype for 'jam_process_next' [-Werror=missing-prototypes]
jamexec.c:5964:17: error: no previous prototype for 'jam_process_padding' [-Werror=missing-prototypes]
jamexec.c:6079:17: error: no previous prototype for 'jam_process_pop' [-Werror=missing-prototypes]
jamexec.c: In function 'jam_process_pop':
jamexec.c:6227:35: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
jamexec.c: At top level:
jamexec.c:6371:17: error: no previous prototype for 'jam_process_pre_post' [-Werror=missing-prototypes]
jamexec.c: In function 'jam_process_pre_post':
jamexec.c:6489:29: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
jamexec.c: At top level:
jamexec.c:6560:17: error: no previous prototype for 'jam_process_print' [-Werror=missing-prototypes]
jamexec.c: In function 'jam_process_procedure':
jamexec.c:6897:48: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
jamexec.c:6904:35: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
jamexec.c: At top level:
jamexec.c:6931:17: error: no previous prototype for 'jam_process_push' [-Werror=missing-prototypes]
jamexec.c:6992:17: error: no previous prototype for 'jam_process_return' [-Werror=missing-prototypes]
jamexec.c:7070:17: error: no previous prototype for 'jam_find_state_argument' [-Werror=missing-prototypes]
jamexec.c:7137:17: error: no previous prototype for 'jam_process_state' [-Werror=missing-prototypes]
jamexec.c:7212:17: error: no previous prototype for 'jam_process_trst' [-Werror=missing-prototypes]
jamexec.c:7251:17: error: no previous prototype for 'jam_process_vector_capture' [-Werror=missing-prototypes]
jamexec.c: In function 'jam_process_vector_capture':
jamexec.c:7318:27: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
jamexec.c: At top level:
jamexec.c:7353:17: error: no previous prototype for 'jam_process_vector_compare' [-Werror=missing-prototypes]
jamexec.c: In function 'jam_process_vector_compare':
jamexec.c:7434:27: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
jamexec.c:7503:27: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
jamexec.c: At top level:
jamexec.c:7617:17: error: no previous prototype for 'jam_process_vector' [-Werror=missing-prototypes]
jamexec.c: In function 'jam_process_vector':
jamexec.c:7684:27: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
jamexec.c:7741:27: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
jamexec.c: At top level:
jamexec.c:7821:17: error: no previous prototype for 'jam_process_vmap' [-Werror=missing-prototypes]
jamexec.c:7955:17: error: no previous prototype for 'jam_process_wait_cycles' [-Werror=missing-prototypes]
jamexec.c:7998:17: error: no previous prototype for 'jam_process_wait_microseconds' [-Werror=missing-prototypes]
jamexec.c:8186:1: error: no previous prototype for 'jam_free_literal_aca_buffers' [-Werror=missing-prototypes]
jamexec.c: In function 'jam_execute':
jamexec.c:8476:33: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
jamexec.c:8478:36: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
cc1: all warnings being treated as errors

make: *** [jamexec.lo] Error 1
  CC     jamnote.lo
In file included from jamnote.c:18:0:
jamdefs.h:28:0: error: "NULL" redefined [-Werror]
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.0/include/stddef.h:402:0: note: this is the location of the previous definition
jamnote.c:25:6: error: no previous prototype for 'jam_get_note_key' [-Werror=missing-prototypes]
jamnote.c:95:6: error: no previous prototype for 'jam_get_note_value' [-Werror=missing-prototypes]
cc1: all warnings being treated as errors

make: *** [jamnote.lo] Error 1
  CC     jamcrc.lo
In file included from jamcrc.c:18:0:
jamdefs.h:28:0: error: "NULL" redefined [-Werror]
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.0/include/stddef.h:402:0: note: this is the location of the previous definition
jamcrc.c:26:1: error: no previous prototype for 'jam_crc_init' [-Werror=missing-prototypes]
jamcrc.c:41:6: error: no previous prototype for 'jam_crc_update' [-Werror=missing-prototypes]
jamcrc.c:74:1: error: no previous prototype for 'jam_get_crc_value' [-Werror=missing-prototypes]
jamcrc.c:89:1: error: no previous prototype for 'jam_hexchar' [-Werror=missing-prototypes]
cc1: all warnings being treated as errors

make: *** [jamcrc.lo] Error 1
  CC     jamsym.lo
In file included from jamsym.c:25:0:
jamdefs.h:28:0: error: "NULL" redefined [-Werror]
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.0/include/stddef.h:402:0: note: this is the location of the previous definition
jamsym.c: In function 'jam_init_symbol_table':
jamsym.c:64:40: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
jamsym.c:64:29: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
jamsym.c: At top level:
jamsym.c:120:6: error: no previous prototype for 'jam_check_init_list' [-Werror=missing-prototypes]
jamsym.c:201:5: error: no previous prototype for 'jam_hash' [-Werror=missing-prototypes]
jamsym.c: In function 'jam_add_symbol':
jamsym.c:380:19: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
jamsym.c:384:17: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
jamsym.c:384:42: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
jamsym.c: In function 'jam_get_symbol_record':
jamsym.c:530:31: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
cc1: all warnings being treated as errors

make: *** [jamsym.lo] Error 1
  CC     jamstack.lo
In file included from jamstack.c:20:0:
jamdefs.h:28:0: error: "NULL" redefined [-Werror]
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.0/include/stddef.h:402:0: note: this is the location of the previous definition
cc1: all warnings being treated as errors

make: *** [jamstack.lo] Error 1
  CC     jamheap.lo
In file included from jamheap.c:22:0:
jamdefs.h:28:0: error: "NULL" redefined [-Werror]
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.0/include/stddef.h:402:0: note: this is the location of the previous definition
jamheap.c: In function 'jam_init_heap':
jamheap.c:74:14: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
jamheap.c:75:38: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
jamheap.c: In function 'jam_add_heap_record':
jamheap.c:184:38: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
jamheap.c:184:28: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
jamheap.c:188:17: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
jamheap.c:188:42: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
jamheap.c: In function 'jam_get_temp_workspace':
jamheap.c:276:14: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
jamheap.c:276:48: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
cc1: all warnings being treated as errors

make: *** [jamheap.lo] Error 1
  CC     jamarray.lo
In file included from jamarray.c:22:0:
jamdefs.h:28:0: error: "NULL" redefined [-Werror]
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.0/include/stddef.h:402:0: note: this is the location of the previous definition
jamarray.c:62:17: error: no previous prototype for 'jam_reverse_boolean_array_bin' [-Werror=missing-prototypes]
jamarray.c:95:17: error: no previous prototype for 'jam_reverse_boolean_array_hex' [-Werror=missing-prototypes]
jamarray.c:118:17: error: no previous prototype for 'jam_extract_bool_comma_sep' [-Werror=missing-prototypes]
jamarray.c:229:17: error: no previous prototype for 'jam_extract_bool_binary' [-Werror=missing-prototypes]
jamarray.c:292:17: error: no previous prototype for 'jam_extract_bool_hex' [-Werror=missing-prototypes]
jamarray.c:376:1: error: no previous prototype for 'jam_6bit_char' [-Werror=missing-prototypes]
jamarray.c:408:6: error: no previous prototype for 'jam_rlc_key_char' [-Werror=missing-prototypes]
jamarray.c:447:17: error: no previous prototype for 'jam_extract_bool_run_length' [-Werror=missing-prototypes]
jamarray.c:587:17: error: no previous prototype for 'jam_extract_bool_compressed' [-Werror=missing-prototypes]
jamarray.c:713:1: error: no previous prototype for 'jam_get_real_char' [-Werror=missing-prototypes]
jamarray.c:765:17: error: no previous prototype for 'jam_read_bool_comma_sep' [-Werror=missing-prototypes]
jamarray.c:858:17: error: no previous prototype for 'jam_read_bool_binary' [-Werror=missing-prototypes]
jamarray.c:922:17: error: no previous prototype for 'jam_read_bool_hex' [-Werror=missing-prototypes]
jamarray.c:992:17: error: no previous prototype for 'jam_read_bool_run_length' [-Werror=missing-prototypes]
jamarray.c:1117:17: error: no previous prototype for 'jam_read_bool_compressed' [-Werror=missing-prototypes]
jamarray.c:1581:17: error: no previous prototype for 'jam_extract_int_comma_sep' [-Werror=missing-prototypes]
jamarray.c:1678:17: error: no previous prototype for 'jam_read_int_comma_sep' [-Werror=missing-prototypes]
jamarray.c: In function 'jam_get_array_value':
jamarray.c:1961:23: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
cc1: all warnings being treated as errors

make: *** [jamarray.lo] Error 1
  CC     jamcomp.lo
In file included from jamcomp.c:24:0:
jamdefs.h:28:0: error: "NULL" redefined [-Werror]
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.0/include/stddef.h:402:0: note: this is the location of the previous definition
jamcomp.c:36:1: error: no previous prototype for 'jam_bits_required' [-Werror=missing-prototypes]
jamcomp.c:66:1: error: no previous prototype for 'jam_read_packed' [-Werror=missing-prototypes]
cc1: all warnings being treated as errors

make: *** [jamcomp.lo] Error 1
  CC     jamjtag.lo
In file included from jamjtag.c:24:0:
jamdefs.h:28:0: error: "NULL" redefined [-Werror]
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.0/include/stddef.h:402:0: note: this is the location of the previous definition
jamjtag.c:596:1: error: no previous prototype for 'jam_jtag_reset_idle' [-Werror=missing-prototypes]
jamjtag.c:798:6: error: no previous prototype for 'jam_jtag_concatenate_data' [-Werror=missing-prototypes]
jamjtag.c:862:6: error: no previous prototype for 'jam_jtag_extract_target_data' [-Werror=missing-prototypes]
jamjtag.c:894:5: error: no previous prototype for 'jam_jtag_drscan' [-Werror=missing-prototypes]
jamjtag.c: In function 'jam_jtag_drscan':
jamjtag.c:928:9: error: implicit declaration of function 'jam_jtag_io_transfer' [-Werror=implicit-function-declaration]
jamjtag.c: At top level:
jamjtag.c:936:5: error: no previous prototype for 'jam_jtag_irscan' [-Werror=missing-prototypes]
cc1: all warnings being treated as errors

make: *** [jamjtag.lo] Error 1
  CC     jamexp.lo
jamexp.c:10:20: error: extra tokens at end of #include directive [-Werror]
In file included from jamexp.c:12:0:
jamdefs.h:28:0: error: "NULL" redefined [-Werror]
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.0/include/stddef.h:402:0: note: this is the location of the previous definition
jamexp.c:294:1: error: no previous prototype for 'jam_exponentiate' [-Werror=missing-prototypes]
jamexp.c:321:1: error: no previous prototype for 'jam_square_root' [-Werror=missing-prototypes]
jamexp.c:371:1: error: no previous prototype for 'jam_convert_bool_to_int' [-Werror=missing-prototypes]
jamexp.c:392:1: error: no previous prototype for 'jam_exp_eval' [-Werror=missing-prototypes]
jamexp.c: In function 'jam_exp_eval':
jamexp.c:879:26: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
jamexp.c:929:28: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
jamexp.c:948:26: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
jamexp.c:954:28: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
jamexp.c: At top level:
jamexp.c:984:1: error: no previous prototype for 'jam_exp_lexer' [-Werror=missing-prototypes]
jamexp.c:1118:1: error: no previous prototype for 'jam_constant_is_ok' [-Werror=missing-prototypes]
jamexp.c:1146:1: error: no previous prototype for 'jam_binary_constant_is_ok' [-Werror=missing-prototypes]
jamexp.c:1168:1: error: no previous prototype for 'jam_hex_constant_is_ok' [-Werror=missing-prototypes]
jamexp.c:1190:1: error: no previous prototype for 'jam_atol_bin' [-Werror=missing-prototypes]
jamexp.c:1205:1: error: no previous prototype for 'jam_atol_hex' [-Werror=missing-prototypes]
jamexp.c:1237:1: error: no previous prototype for 'jam_constant_value' [-Werror=missing-prototypes]
jamexp.c:1287:1: error: no previous prototype for 'jam_yyerror' [-Werror=missing-prototypes]
jamexp.c: In function 'jam_yylex':
jamexp.c:1390:23: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
cc1: all warnings being treated as errors

make: *** [jamexp.lo] Error 1
  CC     stapl.lo
stapl.c:246:5: error: no previous prototype for 'jam_jtag_io_transfer' [-Werror=missing-prototypes]
stapl.c: In function 'jam_jtag_io_transfer':
stapl.c:250:9: error: variable 'tdo_bit' set but not used [-Werror=unused-but-set-variable]
stapl.c: In function 'jam_export_integer':
stapl.c:332:9: error: format '%ld' expects argument of type 'long int', but argument 3 has type 'int32_t' [-Werror=format]
stapl.c: At top level:
stapl.c:341:1: error: no previous prototype for 'conv_to_hex' [-Werror=missing-prototypes]
stapl.c: In function 'jam_export_boolean_array':
stapl.c:369:21: error: format '%ld' expects argument of type 'long int', but argument 3 has type 'int32_t' [-Werror=format]
stapl.c:433:21: error: format '%ld' expects argument of type 'long int', but argument 3 has type 'int32_t' [-Werror=format]
stapl.c: In function 'jam_set_frequency':
stapl.c:606:9: error: format '%ld' expects argument of type 'long int', but argument 2 has type 'int32_t' [-Werror=format]
stapl.c: At top level:
stapl.c:651:1: error: no previous prototype for 'get_tick_count' [-Werror=missing-prototypes]
stapl.c:672:1: error: no previous prototype for 'calibrate_delay' [-Werror=missing-prototypes]
stapl.c: In function 'calibrate_delay':
stapl.c:677:11: error: unused variable 'tick_count2' [-Werror=unused-variable]
stapl.c:676:11: error: unused variable 'tick_count1' [-Werror=unused-variable]
stapl.c:675:9: error: unused variable 'count' [-Werror=unused-variable]
stapl.c:674:9: error: unused variable 'sample' [-Werror=unused-variable]
stapl.c: In function 'urj_stapl_run':
stapl.c:1087:25: error: format '%ld' expects argument of type 'long int', but argument 2 has type 'int32_t' [-Werror=format]
stapl.c:1091:17: error: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Werror=format]
stapl.c:1156:5: error: too many arguments for format [-Werror=format-extra-args]
stapl.c:792:10: error: unused variable 'out' [-Werror=unused-variable]
stapl.c:791:10: error: unused variable 'ch_data' [-Werror=unused-variable]
stapl.c:784:9: error: unused variable 'init_count' [-Werror=unused-variable]
stapl.c:775:9: error: unused variable 'arg' [-Werror=unused-variable]
stapl.c:764:10: error: unused variable 'error' [-Werror=unused-variable]
stapl.c: At top level:
stapl.c:1162:0: error: ignoring #pragma optimize  [-Werror=unknown-pragmas]
cc1: all warnings being treated as errors

make: *** [stapl.lo] Error 1
make: Target `all' not remade because of errors.

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a 
definitive record of customers, application performance, security 
threats, fraudulent activity and more. Splunk takes this data and makes 
sense of it. Business sense. IT sense. Common sense.. 
http://p.sf.net/sfu/splunk-d2d-c1
_______________________________________________
UrJTAG-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/urjtag-development

Reply via email to