Custom Query (541 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (34 - 36 of 541)

2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Ticket Resolution Summary Owner Reporter
#161 fixed Several makefile.ux's hard code gcc somebody baker
Description

The following makefile.ux's hard code gcc:

src/archiving/ew2mseed/makefile.ux
src/grab_bag/activated_scripts/makefile.ux
src/reporting/nq2gif/makefile.ux
src/seismic_processing/ewspectra/makefile.ux
src/seismic_processing/ewaccel/makefile.ux
src/data_sources/q3302ew/makefile.ux
src/data_sources/srpar2ew/makefile.ux
src/data_sources/srusb2ew/makefile.ux

This prevents the use of non-default gcc (e.g., Mac Xcode 3.1.3 comes with three different versions of gcc; the latest is not the default /usr/bin/gcc), or other vendor C compilers (e.g., Intel icc).

I can provide replacement makefile.ux's when this is addressed.

#163 fixed Missing function prototype in src/data_exchange/liss/DCC_SEED/dcc_time/st_timepar.h somebody baker
Description

gcc warns when compiling src/data_exchange/liss/DCC_SEED/dcc_time/st_parsetime.c:

/usr/bin/gcc -m32 -Dlinux -D__i386 -D_LINUX -D_INTEL -D_USE_SCHED -D_USE_PTHREADS -D_USE_TERMIOS
 -I/home/baker/earthworm/earthworm-7.5/merged/include -I../include -O2 -Wall   -c -o st_parsetime.o st_parsetime.c
st_parsetime.c: In function ‘ST_ParseTime’:
st_parsetime.c:106: warning: implicit declaration of function ‘timparse’

This is because the fuinction prototype for int timparse() is missing in src/data_exchange/liss/DCC_SEED/dcc_time/st_timepar.h:

int timparse(void);

A patch file is attached to the ticket.

#164 fixed Possible bugs in src/data_exchange/liss/e2l_procthrd.c and src/data_exchange/liss/DCC_SEED/include/dcc_std.h somebody baker
Description

gcc warns when compiling src/data_exchange/liss/e2l_procthrd.c:

/usr/bin/gcc -m32 -Dlinux -D__i386 -D_LINUX -D_INTEL -D_USE_SCHED -D_USE_PTHREADS -D_USE_TERMIOS
 -I/home/baker/earthworm/earthworm-7.5/merged/include -IDCC_SEED/include -IDCC_SEED/include/seed
  -c  -o e2l_procthrd.o e2l_procthrd.c
e2l_procthrd.c: In function ‘CleanSeed’:
e2l_procthrd.c:516: warning: assignment from incompatible pointer type

The complaint comes from the assignment of a (cast) DCC_LONG * to a long *fill:

/* CleanSeed: reset the compression structures and clean out the SEED header */
void CleanSeed( SCN_BUFFER *this)
{
  long *fill;
  int i;
  
  clear_generic_compression(this->gdp, FIRSTFRAME);

  fill = (DCC_LONG *)this->sdp ;
  for (i = 0; i < (FIRSTFRAME + 1)*16; i++)
    *(fill++) = 0 ;

  return;
}

Why fill is not a DCC_LONG * is a mystery.

DCC_LONG is defined as

typedef signed _BIT32 DCC_LONG;	/* A 32 bit number */

in src/data_exchange/liss/DCC_SEED/include/dcc_std.h, which also includes a definition for _BIT32:

#if SIZEOF_INT==4
# define _BIT32 int
#else
# if SIZEOF_LONG==4
#  define _BIT32 int
# endif
#endif

which looks wrong. I think the second definition is supposed to be

#  define _BIT32 long

So, I think there are two bugs here:

• long *fill should be DCC_LONG *fill
• the second definition of _BIT32 should be to long

Please forward this to whoever wrote this code to have a look see.

2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Note: See TracQuery for help on using queries.