Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [leblanc@alphatross-development alphatross]$ make
- cc -o alphatross -Wno-deprecated-declarations -Wno-pointer-to-int-cast -g alphatross.c -I. -I /usr/include -I/usr/X11R6/LessTif/Motif1.2/include -L/usr/X11R6/lib -L/usr/lib/X11 -lXm -lXt -lX11 -lm
- In file included from alphatross.c:78:0:
- ./oual.h:63:1: warning: useless storage class specifier in empty declaration [enabled by default]
- };
- ^
- alphatross.c: In function ‘TimeOutCB’:
- alphatross.c:3838:58: warning: assignment makes integer from pointer without a cast [enabled by default]
- if ((device_file = fopen("tandem.s.AL_ProbeCurrent", "w")) != NULL)
- ^
- alphatross.c:3838:100: warning: comparison between pointer and integer [enabled by default]
- if ((device_file = fopen("tandem.s.AL_ProbeCurrent", "w")) != NULL)
- ^
- alphatross.c:3840:49: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
- fprintf(device_file, "%f\n", ProbeCurrent);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
- extern int fprintf (FILE *__restrict __stream,
- ^
- alphatross.c:3841:49: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [enabled by default]
- fclose(device_file);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:237:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
- extern int fclose (FILE *__stream);
- ^
- alphatross.c:3851:57: warning: incompatible implicit declaration of built-in function ‘exp10’ [enabled by default]
- IGValue = 1.0 * exp10((atof(command) - 10.0));
- ^
- alphatross.c:3853:58: warning: assignment makes integer from pointer without a cast [enabled by default]
- if ((device_file = fopen("tandem.s.AL_IGValue", "w")) != NULL)
- ^
- alphatross.c:3853:95: warning: comparison between pointer and integer [enabled by default]
- if ((device_file = fopen("tandem.s.AL_IGValue", "w")) != NULL)
- ^
- alphatross.c:3855:49: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
- fprintf(device_file, "%e\n", IGValue);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
- extern int fprintf (FILE *__restrict __stream,
- ^
- alphatross.c:3856:49: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [enabled by default]
- fclose(device_file);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:237:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
- extern int fclose (FILE *__stream);
- ^
- alphatross.c:3867:58: warning: assignment makes integer from pointer without a cast [enabled by default]
- if ((device_file = fopen("tandem.s.AL_ExtCurrent", "w")) != NULL)
- ^
- alphatross.c:3867:98: warning: comparison between pointer and integer [enabled by default]
- if ((device_file = fopen("tandem.s.AL_ExtCurrent", "w")) != NULL)
- ^
- alphatross.c:3869:49: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
- fprintf(device_file, "%f\n", ExtCurrent);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
- extern int fprintf (FILE *__restrict __stream,
- ^
- alphatross.c:3870:49: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [enabled by default]
- fclose(device_file);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:237:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
- extern int fclose (FILE *__stream);
- ^
- alphatross.c:3881:58: warning: assignment makes integer from pointer without a cast [enabled by default]
- if ((device_file = fopen("tandem.s.AL_FocCurrent", "w")) != NULL)
- ^
- alphatross.c:3881:98: warning: comparison between pointer and integer [enabled by default]
- if ((device_file = fopen("tandem.s.AL_FocCurrent", "w")) != NULL)
- ^
- alphatross.c:3883:49: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
- fprintf(device_file, "%f\n", FocCurrent);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
- extern int fprintf (FILE *__restrict __stream,
- ^
- alphatross.c:3884:49: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [enabled by default]
- fclose(device_file);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:237:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
- extern int fclose (FILE *__stream);
- ^
- alphatross.c:3895:58: warning: assignment makes integer from pointer without a cast [enabled by default]
- if ((device_file = fopen("tandem.s.AL_OvenTR", "w")) != NULL)
- ^
- alphatross.c:3895:94: warning: comparison between pointer and integer [enabled by default]
- if ((device_file = fopen("tandem.s.AL_OvenTR", "w")) != NULL)
- ^
- alphatross.c:3897:49: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
- fprintf(device_file, "%f\n", OvenTR);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
- extern int fprintf (FILE *__restrict __stream,
- ^
- alphatross.c:3898:49: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [enabled by default]
- fclose(device_file);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:237:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
- extern int fclose (FILE *__stream);
- ^
- alphatross.c:3909:58: warning: assignment makes integer from pointer without a cast [enabled by default]
- if ((device_file = fopen("tandem.s.AL_ChamberTR", "w")) != NULL)
- ^
- alphatross.c:3909:97: warning: comparison between pointer and integer [enabled by default]
- if ((device_file = fopen("tandem.s.AL_ChamberTR", "w")) != NULL)
- ^
- alphatross.c:3911:49: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
- fprintf(device_file, "%f\n", ChamberTR);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
- extern int fprintf (FILE *__restrict __stream,
- ^
- alphatross.c:3912:49: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [enabled by default]
- fclose(device_file);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:237:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
- extern int fclose (FILE *__stream);
- ^
- alphatross.c:3941:58: warning: assignment makes integer from pointer without a cast [enabled by default]
- if ((device_file = fopen("tandem.s.AL_BiasCurrent", "w")) != NULL)
- ^
- alphatross.c:3941:99: warning: comparison between pointer and integer [enabled by default]
- if ((device_file = fopen("tandem.s.AL_BiasCurrent", "w")) != NULL)
- ^
- alphatross.c:3943:49: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
- fprintf(device_file, "%f\n", BiasCurrent);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
- extern int fprintf (FILE *__restrict __stream,
- ^
- alphatross.c:3944:49: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [enabled by default]
- fclose(device_file);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:237:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
- extern int fclose (FILE *__stream);
- ^
- alphatross.c:3955:58: warning: assignment makes integer from pointer without a cast [enabled by default]
- if ((device_file = fopen("tandem.s.AL_LensCurrent", "w")) != NULL)
- ^
- alphatross.c:3955:99: warning: comparison between pointer and integer [enabled by default]
- if ((device_file = fopen("tandem.s.AL_LensCurrent", "w")) != NULL)
- ^
- alphatross.c:3957:49: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
- fprintf(device_file, "%f\n", LensCurrent);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
- extern int fprintf (FILE *__restrict __stream,
- ^
- alphatross.c:3958:49: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [enabled by default]
- fclose(device_file);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:237:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
- extern int fclose (FILE *__stream);
- ^
- alphatross.c:3961:50: warning: assignment makes integer from pointer without a cast [enabled by default]
- if ((device_file = fopen("tandem.s.AL_ExtractorVoltage", "w")) != NULL)
- ^
- alphatross.c:3961:96: warning: comparison between pointer and integer [enabled by default]
- if ((device_file = fopen("tandem.s.AL_ExtractorVoltage", "w")) != NULL)
- ^
- alphatross.c:3963:41: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
- fprintf(device_file, "%f\n", window_dvalue[0]);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
- extern int fprintf (FILE *__restrict __stream,
- ^
- alphatross.c:3964:41: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [enabled by default]
- fclose(device_file);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:237:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
- extern int fclose (FILE *__stream);
- ^
- alphatross.c:3966:50: warning: assignment makes integer from pointer without a cast [enabled by default]
- if ((device_file = fopen("tandem.s.AL_FocusVoltage", "w")) != NULL)
- ^
- alphatross.c:3966:92: warning: comparison between pointer and integer [enabled by default]
- if ((device_file = fopen("tandem.s.AL_FocusVoltage", "w")) != NULL)
- ^
- alphatross.c:3968:41: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
- fprintf(device_file, "%f\n", window_dvalue[1]);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
- extern int fprintf (FILE *__restrict __stream,
- ^
- alphatross.c:3969:41: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [enabled by default]
- fclose(device_file);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:237:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
- extern int fclose (FILE *__stream);
- ^
- alphatross.c:3971:50: warning: assignment makes integer from pointer without a cast [enabled by default]
- if ((device_file = fopen("tandem.s.AL_ProbeVoltage", "w")) != NULL)
- ^
- alphatross.c:3971:92: warning: comparison between pointer and integer [enabled by default]
- if ((device_file = fopen("tandem.s.AL_ProbeVoltage", "w")) != NULL)
- ^
- alphatross.c:3973:41: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
- fprintf(device_file, "%f\n", window_dvalue[2]);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
- extern int fprintf (FILE *__restrict __stream,
- ^
- alphatross.c:3974:41: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [enabled by default]
- fclose(device_file);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:237:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
- extern int fclose (FILE *__stream);
- ^
- alphatross.c:3976:50: warning: assignment makes integer from pointer without a cast [enabled by default]
- if ((device_file = fopen("tandem.s.AL_MagnetCurrent", "w")) != NULL)
- ^
- alphatross.c:3976:93: warning: comparison between pointer and integer [enabled by default]
- if ((device_file = fopen("tandem.s.AL_MagnetCurrent", "w")) != NULL)
- ^
- alphatross.c:3978:41: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
- fprintf(device_file, "%f\n", window_dvalue[3]);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
- extern int fprintf (FILE *__restrict __stream,
- ^
- alphatross.c:3979:41: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [enabled by default]
- fclose(device_file);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:237:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
- extern int fclose (FILE *__stream);
- ^
- alphatross.c:3981:50: warning: assignment makes integer from pointer without a cast [enabled by default]
- if ((device_file = fopen("tandem.s.AL_OvenVoltage", "w")) != NULL)
- ^
- alphatross.c:3981:91: warning: comparison between pointer and integer [enabled by default]
- if ((device_file = fopen("tandem.s.AL_OvenVoltage", "w")) != NULL)
- ^
- alphatross.c:3983:41: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
- fprintf(device_file, "%f\n", window_dvalue[4]);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
- extern int fprintf (FILE *__restrict __stream,
- ^
- alphatross.c:3984:41: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [enabled by default]
- fclose(device_file);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:237:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
- extern int fclose (FILE *__stream);
- ^
- alphatross.c:3986:50: warning: assignment makes integer from pointer without a cast [enabled by default]
- if ((device_file = fopen("tandem.s.AL_MFHe3", "w")) != NULL)
- ^
- alphatross.c:3986:85: warning: comparison between pointer and integer [enabled by default]
- if ((device_file = fopen("tandem.s.AL_MFHe3", "w")) != NULL)
- ^
- alphatross.c:3988:41: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
- fprintf(device_file, "%f\n", window_dvalue[5]);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
- extern int fprintf (FILE *__restrict __stream,
- ^
- alphatross.c:3989:41: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [enabled by default]
- fclose(device_file);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:237:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
- extern int fclose (FILE *__stream);
- ^
- alphatross.c:3991:50: warning: assignment makes integer from pointer without a cast [enabled by default]
- if ((device_file = fopen("tandem.s.AL_MFHe4", "w")) != NULL)
- ^
- alphatross.c:3991:85: warning: comparison between pointer and integer [enabled by default]
- if ((device_file = fopen("tandem.s.AL_MFHe4", "w")) != NULL)
- ^
- alphatross.c:3993:41: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
- fprintf(device_file, "%f\n", window_dvalue[6]);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
- extern int fprintf (FILE *__restrict __stream,
- ^
- alphatross.c:3994:41: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [enabled by default]
- fclose(device_file);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:237:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
- extern int fclose (FILE *__stream);
- ^
- alphatross.c:3996:50: warning: assignment makes integer from pointer without a cast [enabled by default]
- if ((device_file = fopen("tandem.s.AL_BiasVoltage", "w")) != NULL)
- ^
- alphatross.c:3996:91: warning: comparison between pointer and integer [enabled by default]
- if ((device_file = fopen("tandem.s.AL_BiasVoltage", "w")) != NULL)
- ^
- alphatross.c:3998:41: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
- fprintf(device_file, "%f\n", window_dvalue[7]);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
- extern int fprintf (FILE *__restrict __stream,
- ^
- alphatross.c:3999:41: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [enabled by default]
- fclose(device_file);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:237:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
- extern int fclose (FILE *__stream);
- ^
- alphatross.c:4001:50: warning: assignment makes integer from pointer without a cast [enabled by default]
- if ((device_file = fopen("tandem.s.AL_LensVoltage", "w")) != NULL)
- ^
- alphatross.c:4001:91: warning: comparison between pointer and integer [enabled by default]
- if ((device_file = fopen("tandem.s.AL_LensVoltage", "w")) != NULL)
- ^
- alphatross.c:4003:41: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
- fprintf(device_file, "%f\n", window_dvalue[8]);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
- extern int fprintf (FILE *__restrict __stream,
- ^
- alphatross.c:4004:41: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [enabled by default]
- fclose(device_file);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:237:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
- extern int fclose (FILE *__stream);
- ^
- alphatross.c:4006:50: warning: assignment makes integer from pointer without a cast [enabled by default]
- if ((device_file = fopen("tandem.s.AL_Steerer+Voltage", "w")) != NULL)
- ^
- alphatross.c:4006:95: warning: comparison between pointer and integer [enabled by default]
- if ((device_file = fopen("tandem.s.AL_Steerer+Voltage", "w")) != NULL)
- ^
- alphatross.c:4008:41: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
- fprintf(device_file, "%f\n", window_dvalue[9]);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
- extern int fprintf (FILE *__restrict __stream,
- ^
- alphatross.c:4009:41: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [enabled by default]
- fclose(device_file);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:237:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
- extern int fclose (FILE *__stream);
- ^
- alphatross.c:4011:50: warning: assignment makes integer from pointer without a cast [enabled by default]
- if ((device_file = fopen("tandem.s.AL_Steerer-Voltage", "w")) != NULL)
- ^
- alphatross.c:4011:95: warning: comparison between pointer and integer [enabled by default]
- if ((device_file = fopen("tandem.s.AL_Steerer-Voltage", "w")) != NULL)
- ^
- alphatross.c:4013:41: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
- fprintf(device_file, "%f\n", window_dvalue[10]);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
- extern int fprintf (FILE *__restrict __stream,
- ^
- alphatross.c:4014:41: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [enabled by default]
- fclose(device_file);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:237:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
- extern int fclose (FILE *__stream);
- ^
- alphatross.c:4073:50: warning: assignment makes integer from pointer without a cast [enabled by default]
- if ((device_file = fopen("tandem.s.AL_ProbeCurrent", "w")) != NULL)
- ^
- alphatross.c:4073:92: warning: comparison between pointer and integer [enabled by default]
- if ((device_file = fopen("tandem.s.AL_ProbeCurrent", "w")) != NULL)
- ^
- alphatross.c:4075:41: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
- fprintf(device_file, "%f\n", ProbeCurrent);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
- extern int fprintf (FILE *__restrict __stream,
- ^
- alphatross.c:4076:41: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [enabled by default]
- fclose(device_file);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:237:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
- extern int fclose (FILE *__stream);
- ^
- alphatross.c:4085:49: warning: incompatible implicit declaration of built-in function ‘exp10’ [enabled by default]
- IGValue = 1.0 * exp10((atof(command) - 10.0));
- ^
- alphatross.c:4087:50: warning: assignment makes integer from pointer without a cast [enabled by default]
- if ((device_file = fopen("tandem.s.AL_IGValue", "w")) != NULL)
- ^
- alphatross.c:4087:87: warning: comparison between pointer and integer [enabled by default]
- if ((device_file = fopen("tandem.s.AL_IGValue", "w")) != NULL)
- ^
- alphatross.c:4089:41: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
- fprintf(device_file, "%e\n", IGValue);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
- extern int fprintf (FILE *__restrict __stream,
- ^
- alphatross.c:4090:41: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [enabled by default]
- fclose(device_file);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:237:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
- extern int fclose (FILE *__stream);
- ^
- alphatross.c:4101:50: warning: assignment makes integer from pointer without a cast [enabled by default]
- if ((device_file = fopen("tandem.s.AL_ExtCurrent", "w")) != NULL)
- ^
- alphatross.c:4101:90: warning: comparison between pointer and integer [enabled by default]
- if ((device_file = fopen("tandem.s.AL_ExtCurrent", "w")) != NULL)
- ^
- alphatross.c:4103:41: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
- fprintf(device_file, "%f\n", ExtCurrent);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
- extern int fprintf (FILE *__restrict __stream,
- ^
- alphatross.c:4104:41: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [enabled by default]
- fclose(device_file);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:237:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
- extern int fclose (FILE *__stream);
- ^
- alphatross.c:4115:50: warning: assignment makes integer from pointer without a cast [enabled by default]
- if ((device_file = fopen("tandem.s.AL_FocCurrent", "w")) != NULL)
- ^
- alphatross.c:4115:90: warning: comparison between pointer and integer [enabled by default]
- if ((device_file = fopen("tandem.s.AL_FocCurrent", "w")) != NULL)
- ^
- alphatross.c:4117:41: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
- fprintf(device_file, "%f\n", FocCurrent);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
- extern int fprintf (FILE *__restrict __stream,
- ^
- alphatross.c:4118:41: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [enabled by default]
- fclose(device_file);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:237:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
- extern int fclose (FILE *__stream);
- ^
- alphatross.c:4129:50: warning: assignment makes integer from pointer without a cast [enabled by default]
- if ((device_file = fopen("tandem.s.AL_OvenTR", "w")) != NULL)
- ^
- alphatross.c:4129:86: warning: comparison between pointer and integer [enabled by default]
- if ((device_file = fopen("tandem.s.AL_OvenTR", "w")) != NULL)
- ^
- alphatross.c:4131:41: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
- fprintf(device_file, "%f\n", OvenTR);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
- extern int fprintf (FILE *__restrict __stream,
- ^
- alphatross.c:4132:41: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [enabled by default]
- fclose(device_file);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:237:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
- extern int fclose (FILE *__stream);
- ^
- alphatross.c:4143:50: warning: assignment makes integer from pointer without a cast [enabled by default]
- if ((device_file = fopen("tandem.s.AL_ChamberTR", "w")) != NULL)
- ^
- alphatross.c:4143:89: warning: comparison between pointer and integer [enabled by default]
- if ((device_file = fopen("tandem.s.AL_ChamberTR", "w")) != NULL)
- ^
- alphatross.c:4145:41: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
- fprintf(device_file, "%f\n", ChamberTR);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
- extern int fprintf (FILE *__restrict __stream,
- ^
- alphatross.c:4146:41: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [enabled by default]
- fclose(device_file);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:237:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
- extern int fclose (FILE *__stream);
- ^
- alphatross.c:4175:50: warning: assignment makes integer from pointer without a cast [enabled by default]
- if ((device_file = fopen("tandem.s.AL_BiasCurrent", "w")) != NULL)
- ^
- alphatross.c:4175:91: warning: comparison between pointer and integer [enabled by default]
- if ((device_file = fopen("tandem.s.AL_BiasCurrent", "w")) != NULL)
- ^
- alphatross.c:4177:41: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
- fprintf(device_file, "%f\n", BiasCurrent);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
- extern int fprintf (FILE *__restrict __stream,
- ^
- alphatross.c:4178:41: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [enabled by default]
- fclose(device_file);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:237:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
- extern int fclose (FILE *__stream);
- ^
- alphatross.c:4189:50: warning: assignment makes integer from pointer without a cast [enabled by default]
- if ((device_file = fopen("tandem.s.AL_LensCurrent", "w")) != NULL)
- ^
- alphatross.c:4189:91: warning: comparison between pointer and integer [enabled by default]
- if ((device_file = fopen("tandem.s.AL_LensCurrent", "w")) != NULL)
- ^
- alphatross.c:4191:41: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
- fprintf(device_file, "%f\n", LensCurrent);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
- extern int fprintf (FILE *__restrict __stream,
- ^
- alphatross.c:4192:41: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [enabled by default]
- fclose(device_file);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:237:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
- extern int fclose (FILE *__stream);
- ^
- alphatross.c:4196:34: warning: assignment makes integer from pointer without a cast [enabled by default]
- if ((device_file = fopen("tandem.s.AL_ExtractorVoltage", "w")) != NULL)
- ^
- alphatross.c:4196:80: warning: comparison between pointer and integer [enabled by default]
- if ((device_file = fopen("tandem.s.AL_ExtractorVoltage", "w")) != NULL)
- ^
- alphatross.c:4198:25: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
- fprintf(device_file, "%f\n", window_dvalue[0]);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
- extern int fprintf (FILE *__restrict __stream,
- ^
- alphatross.c:4199:25: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [enabled by default]
- fclose(device_file);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:237:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
- extern int fclose (FILE *__stream);
- ^
- alphatross.c:4201:34: warning: assignment makes integer from pointer without a cast [enabled by default]
- if ((device_file = fopen("tandem.s.AL_FocusVoltage", "w")) != NULL)
- ^
- alphatross.c:4201:76: warning: comparison between pointer and integer [enabled by default]
- if ((device_file = fopen("tandem.s.AL_FocusVoltage", "w")) != NULL)
- ^
- alphatross.c:4203:25: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
- fprintf(device_file, "%f\n", window_dvalue[1]);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
- extern int fprintf (FILE *__restrict __stream,
- ^
- alphatross.c:4204:25: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [enabled by default]
- fclose(device_file);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:237:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
- extern int fclose (FILE *__stream);
- ^
- alphatross.c:4206:34: warning: assignment makes integer from pointer without a cast [enabled by default]
- if ((device_file = fopen("tandem.s.AL_ProbeVoltage", "w")) != NULL)
- ^
- alphatross.c:4206:76: warning: comparison between pointer and integer [enabled by default]
- if ((device_file = fopen("tandem.s.AL_ProbeVoltage", "w")) != NULL)
- ^
- alphatross.c:4208:25: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
- fprintf(device_file, "%f\n", window_dvalue[2]);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
- extern int fprintf (FILE *__restrict __stream,
- ^
- alphatross.c:4209:25: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [enabled by default]
- fclose(device_file);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:237:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
- extern int fclose (FILE *__stream);
- ^
- alphatross.c:4211:34: warning: assignment makes integer from pointer without a cast [enabled by default]
- if ((device_file = fopen("tandem.s.AL_MagnetCurrent", "w")) != NULL)
- ^
- alphatross.c:4211:77: warning: comparison between pointer and integer [enabled by default]
- if ((device_file = fopen("tandem.s.AL_MagnetCurrent", "w")) != NULL)
- ^
- alphatross.c:4213:25: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
- fprintf(device_file, "%f\n", window_dvalue[3]);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
- extern int fprintf (FILE *__restrict __stream,
- ^
- alphatross.c:4214:25: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [enabled by default]
- fclose(device_file);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:237:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
- extern int fclose (FILE *__stream);
- ^
- alphatross.c:4216:34: warning: assignment makes integer from pointer without a cast [enabled by default]
- if ((device_file = fopen("tandem.s.AL_OvenVoltage", "w")) != NULL)
- ^
- alphatross.c:4216:75: warning: comparison between pointer and integer [enabled by default]
- if ((device_file = fopen("tandem.s.AL_OvenVoltage", "w")) != NULL)
- ^
- alphatross.c:4218:25: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
- fprintf(device_file, "%f\n", window_dvalue[4]);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
- extern int fprintf (FILE *__restrict __stream,
- ^
- alphatross.c:4219:25: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [enabled by default]
- fclose(device_file);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:237:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
- extern int fclose (FILE *__stream);
- ^
- alphatross.c:4221:34: warning: assignment makes integer from pointer without a cast [enabled by default]
- if ((device_file = fopen("tandem.s.AL_MFHe3", "w")) != NULL)
- ^
- alphatross.c:4221:69: warning: comparison between pointer and integer [enabled by default]
- if ((device_file = fopen("tandem.s.AL_MFHe3", "w")) != NULL)
- ^
- alphatross.c:4223:25: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
- fprintf(device_file, "%f\n", window_dvalue[5]);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
- extern int fprintf (FILE *__restrict __stream,
- ^
- alphatross.c:4224:25: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [enabled by default]
- fclose(device_file);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:237:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
- extern int fclose (FILE *__stream);
- ^
- alphatross.c:4226:34: warning: assignment makes integer from pointer without a cast [enabled by default]
- if ((device_file = fopen("tandem.s.AL_MFHe4", "w")) != NULL)
- ^
- alphatross.c:4226:69: warning: comparison between pointer and integer [enabled by default]
- if ((device_file = fopen("tandem.s.AL_MFHe4", "w")) != NULL)
- ^
- alphatross.c:4228:25: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
- fprintf(device_file, "%f\n", window_dvalue[6]);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
- extern int fprintf (FILE *__restrict __stream,
- ^
- alphatross.c:4229:25: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [enabled by default]
- fclose(device_file);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:237:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
- extern int fclose (FILE *__stream);
- ^
- alphatross.c:4231:34: warning: assignment makes integer from pointer without a cast [enabled by default]
- if ((device_file = fopen("tandem.s.AL_BiasVoltage", "w")) != NULL)
- ^
- alphatross.c:4231:75: warning: comparison between pointer and integer [enabled by default]
- if ((device_file = fopen("tandem.s.AL_BiasVoltage", "w")) != NULL)
- ^
- alphatross.c:4233:25: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
- fprintf(device_file, "%f\n", window_dvalue[7]);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
- extern int fprintf (FILE *__restrict __stream,
- ^
- alphatross.c:4234:25: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [enabled by default]
- fclose(device_file);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:237:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
- extern int fclose (FILE *__stream);
- ^
- alphatross.c:4236:34: warning: assignment makes integer from pointer without a cast [enabled by default]
- if ((device_file = fopen("tandem.s.AL_LensVoltage", "w")) != NULL)
- ^
- alphatross.c:4236:75: warning: comparison between pointer and integer [enabled by default]
- if ((device_file = fopen("tandem.s.AL_LensVoltage", "w")) != NULL)
- ^
- alphatross.c:4238:25: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
- fprintf(device_file, "%f\n", window_dvalue[8]);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
- extern int fprintf (FILE *__restrict __stream,
- ^
- alphatross.c:4239:25: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [enabled by default]
- fclose(device_file);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:237:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
- extern int fclose (FILE *__stream);
- ^
- alphatross.c:4241:34: warning: assignment makes integer from pointer without a cast [enabled by default]
- if ((device_file = fopen("tandem.s.AL_Steerer+Voltage", "w")) != NULL)
- ^
- alphatross.c:4241:79: warning: comparison between pointer and integer [enabled by default]
- if ((device_file = fopen("tandem.s.AL_Steerer+Voltage", "w")) != NULL)
- ^
- alphatross.c:4243:25: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
- fprintf(device_file, "%f\n", window_dvalue[9]);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
- extern int fprintf (FILE *__restrict __stream,
- ^
- alphatross.c:4244:25: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [enabled by default]
- fclose(device_file);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:237:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
- extern int fclose (FILE *__stream);
- ^
- alphatross.c:4246:34: warning: assignment makes integer from pointer without a cast [enabled by default]
- if ((device_file = fopen("tandem.s.AL_Steerer-Voltage", "w")) != NULL)
- ^
- alphatross.c:4246:79: warning: comparison between pointer and integer [enabled by default]
- if ((device_file = fopen("tandem.s.AL_Steerer-Voltage", "w")) != NULL)
- ^
- alphatross.c:4248:25: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default]
- fprintf(device_file, "%f\n", window_dvalue[10]);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:356:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’
- extern int fprintf (FILE *__restrict __stream,
- ^
- alphatross.c:4249:25: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [enabled by default]
- fclose(device_file);
- ^
- In file included from alphatross.c:67:0:
- /usr/include/stdio.h:237:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
- extern int fclose (FILE *__stream);
- ^
- alphatross.c:4780:9: warning: passing argument 3 of ‘XtAppAddTimeOut’ from incompatible pointer type [enabled by default]
- XtAppAddTimeOut(XtWidgetToApplicationContext(client_data), time, TimeOutCB, (XtPointer) client_data);
- ^
- In file included from /usr/include/Xm/Xm.h:59:0,
- from /usr/include/Xm/DrawingA.h:32,
- from alphatross.c:83:
- /usr/include/X11/Intrinsic.h:978:21: note: expected ‘XtTimerCallbackProc’ but argument is of type ‘void (*)(struct _WidgetRec *, XtIntervalId *)’
- extern XtIntervalId XtAppAddTimeOut(
- ^
- #cc -o alphatross -w -g alphatross.c -I. -I /usr/include -I/usr/X11R6/LessTif/Motif1.2/include -L/usr/X11R6/lib -L/usr/lib/X11 -lXm -lXt -lX11 -lm
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement