wisdom9285@gmail.com [nuttx]
2017-03-01 02:15:48 UTC
chip/stm32_usbhost.c:80:52: error: 'TRACE1_NSTRINGS' undeclared here (not in a function)
static const struct stm32_usbhost_trace_s g_trace1[TRACE1_NSTRINGS] =
^
chip/stm32_usbhost.c:148:1: error: empty scalar initializer
};
^
chip/stm32_usbhost.c:148:1: error: (near initialization for 'g_trace1')
chip/stm32_usbhost.c:150:52: error: 'TRACE2_NSTRINGS' undeclared here (not in a function)
static const struct stm32_usbhost_trace_s g_trace2[TRACE2_NSTRINGS] =
^
chip/stm32_usbhost.c:210:1: error: empty scalar initializer
};
^
chip/stm32_usbhost.c:210:1: error: (near initialization for 'g_trace2')
chip/stm32_usbhost.c: In function 'usbhost_trformat1':
chip/stm32_usbhost.c:235:3: warning: implicit declaration of function 'TRACE1_INDEX' [-Wimplicit-function-declaration]
int ndx = TRACE1_INDEX(id);
^
chip/stm32_usbhost.c: In function 'usbhost_trformat2':
chip/stm32_usbhost.c:247:3: warning: implicit declaration of function 'TRACE2_INDEX' [-Wimplicit-function-declaration]
int ndx = TRACE2_INDEX(id);
^
chip/stm32_usbhost.c: At top level:
chip/stm32_usbhost.c:80:43: warning: 'g_trace1' defined but not used [-Wunused-variable]
static const struct stm32_usbhost_trace_s g_trace1[TRACE1_NSTRINGS] =
^
chip/stm32_usbhost.c:150:43: warning: 'g_trace2' defined but not used [-Wunused-variable]
static const struct stm32_usbhost_trace_s g_trace2[TRACE2_NSTRINGS] =
^
static const struct stm32_usbhost_trace_s g_trace1[TRACE1_NSTRINGS] =
^
chip/stm32_usbhost.c:148:1: error: empty scalar initializer
};
^
chip/stm32_usbhost.c:148:1: error: (near initialization for 'g_trace1')
chip/stm32_usbhost.c:150:52: error: 'TRACE2_NSTRINGS' undeclared here (not in a function)
static const struct stm32_usbhost_trace_s g_trace2[TRACE2_NSTRINGS] =
^
chip/stm32_usbhost.c:210:1: error: empty scalar initializer
};
^
chip/stm32_usbhost.c:210:1: error: (near initialization for 'g_trace2')
chip/stm32_usbhost.c: In function 'usbhost_trformat1':
chip/stm32_usbhost.c:235:3: warning: implicit declaration of function 'TRACE1_INDEX' [-Wimplicit-function-declaration]
int ndx = TRACE1_INDEX(id);
^
chip/stm32_usbhost.c: In function 'usbhost_trformat2':
chip/stm32_usbhost.c:247:3: warning: implicit declaration of function 'TRACE2_INDEX' [-Wimplicit-function-declaration]
int ndx = TRACE2_INDEX(id);
^
chip/stm32_usbhost.c: At top level:
chip/stm32_usbhost.c:80:43: warning: 'g_trace1' defined but not used [-Wunused-variable]
static const struct stm32_usbhost_trace_s g_trace1[TRACE1_NSTRINGS] =
^
chip/stm32_usbhost.c:150:43: warning: 'g_trace2' defined but not used [-Wunused-variable]
static const struct stm32_usbhost_trace_s g_trace2[TRACE2_NSTRINGS] =
^