Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 73749
Collapse All | Expand All

(-)nngs-1.1.16/config.h.in (+3 lines)
Lines 132-137 Link Here
132
/* Define to 1 if you have the `snprintf' function. */
132
/* Define to 1 if you have the `snprintf' function. */
133
#undef HAVE_SNPRINTF
133
#undef HAVE_SNPRINTF
134
134
135
/* Define to 1 if you have the `ftruncate' function. */
136
#undef HAVE_FTRUNCATE
137
135
/* Define to 1 if you have the <stdint.h> header file. */
138
/* Define to 1 if you have the <stdint.h> header file. */
136
#undef HAVE_STDINT_H
139
#undef HAVE_STDINT_H
137
140
(-)nngs-1.1.16/configure.in (-2 / +2 lines)
Lines 79-86 Link Here
79
NO_WARNINGS="CFLAGS=$CFLAGS"
79
NO_WARNINGS="CFLAGS=$CFLAGS"
80
if test $ac_cv_prog_gcc = yes; then
80
if test $ac_cv_prog_gcc = yes; then
81
  GCC_ONLY=''
81
  GCC_ONLY=''
82
  GGO_SOME_WARNINGS='-Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wp,-lang-c89'
82
  GGO_SOME_WARNINGS='-Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wp,-ansi=c89'
83
  GGO_ALL_WARNINGS='-Wall -W -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wp,-lang-c89'
83
  GGO_ALL_WARNINGS='-Wall -W -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wp,-ansi=c89'
84
  NNGS_SOME_WARNINGS="CFLAGS=$CFLAGS $GGO_SOME_WARNINGS"
84
  NNGS_SOME_WARNINGS="CFLAGS=$CFLAGS $GGO_SOME_WARNINGS"
85
  NNGS_ALL_WARNINGS="CFLAGS=$CFLAGS $GGO_ALL_WARNINGS"
85
  NNGS_ALL_WARNINGS="CFLAGS=$CFLAGS $GGO_ALL_WARNINGS"
86
  CFLAGS="$CFLAGS $GGO_SOME_WARNINGS"
86
  CFLAGS="$CFLAGS $GGO_SOME_WARNINGS"
(-)nngs-1.1.16/src/mink.c (+3 lines)
Lines 19-26 Link Here
19
19
20
#ifdef HAVE_STDLIB_H
20
#ifdef HAVE_STDLIB_H
21
#include <stdlib.h>
21
#include <stdlib.h>
22
23
#if (!HAVE_RANDOM)
22
extern int random(void);
24
extern int random(void);
23
#endif
25
#endif
26
#endif
24
27
25
#include <assert.h>
28
#include <assert.h>
26
29

Return to bug 73749