Top   Types   Functions   Classes   Index   Sources 

include/error/printf-gen.h


  1  /* -*- Mode: C++ -*- */
  2  /* err-default scope=project */
  3  
  4  /* err-renumber */
  5  extern int
  6  eprintf (int tag, int number, char const *, ...) ATTR_FORMAT_PRINTF(3,4);
  7  /* See voleprintf for more documentation. */
  8  
  9  /* err-renumber */
 10  extern int
 11  fleprintf (int tag, int number, char const * /*file*/, int /*line*/, char const *, ...) ATTR_FORMAT_PRINTF(5,6);
 12  /* See voleprintf for more documentation. */
 13  
 14  /* err-renumber */
 15  extern int
 16  flpeprintf (int tag, int number, char const * /*file*/, int /*line*/, int /*pos*/, char const *, ...) ATTR_FORMAT_PRINTF(6,7);
 17  /* See voleprintf for more documentation. */
 18  
 19  /* err-renumber */
 20  extern int
 21  leprintf (int tag, int number, err_location_t const *, char const *, ...) ATTR_FORMAT_PRINTF(4,5);
 22  /* See voleprintf for more documentation. */
 23  
 24  /* err-renumber */
 25  extern int
 26  oeprintf (int tag, int number, int /*options*/, char const *, ...) ATTR_FORMAT_PRINTF(4,5);
 27  /* See voleprintf for more documentation. */
 28  
 29  /* err-renumber */
 30  extern int
 31  ofleprintf (int tag, int number, int /*options*/, char const * /*file*/, int /*line*/, char const *, ...) ATTR_FORMAT_PRINTF(6,7);
 32  /* See voleprintf for more documentation. */
 33  
 34  /* err-renumber */
 35  extern int
 36  oflpeprintf (int tag, int number, int /*options*/, char const * /*file*/, int /*line*/, int /*pos*/, char const *, ...) ATTR_FORMAT_PRINTF(7,8);
 37  /* See voleprintf for more documentation. */
 38  
 39  /* err-renumber */
 40  extern int
 41  oleprintf (int tag, int number, int /*options*/, err_location_t const *, char const *, ...) ATTR_FORMAT_PRINTF(5,6);
 42  /* See voleprintf for more documentation. */
 43  
 44  /* err-renumber */
 45  extern int
 46  qeprintf (int tag, int number, char const *, ...) ATTR_FORMAT_PRINTF(3,4);
 47  /* See voleprintf for more documentation. */
 48  
 49  /* err-renumber */
 50  extern int
 51  qfleprintf (int tag, int number, char const * /*file*/, int /*line*/, char const *, ...) ATTR_FORMAT_PRINTF(5,6);
 52  /* See voleprintf for more documentation. */
 53  
 54  /* err-renumber */
 55  extern int
 56  qflpeprintf (int tag, int number, char const * /*file*/, int /*line*/, int /*pos*/, char const *, ...) ATTR_FORMAT_PRINTF(6,7);
 57  /* See voleprintf for more documentation. */
 58  
 59  /* err-renumber */
 60  extern int
 61  qleprintf (int tag, int number, err_location_t const *, char const *, ...) ATTR_FORMAT_PRINTF(4,5);
 62  /* See voleprintf for more documentation. */
 63  
 64  /* err-renumber */
 65  extern int
 66  veprintf (int tag, int number, char const *, va_list) ATTR_FORMAT_VPRINTF(3);
 67  /* See voleprintf for more documentation. */
 68  
 69  /* err-renumber */
 70  extern int
 71  vfleprintf (int tag, int number, char const * /*file*/, int /*line*/, char const *, va_list) ATTR_FORMAT_VPRINTF(5);
 72  /* See voleprintf for more documentation. */
 73  
 74  /* err-renumber */
 75  extern int
 76  vflpeprintf (int tag, int number, char const * /*file*/, int /*line*/, int /*pos*/, char const *, va_list) ATTR_FORMAT_VPRINTF(6);
 77  /* See voleprintf for more documentation. */
 78  
 79  /* err-renumber */
 80  extern int
 81  vleprintf (int tag, int number, err_location_t const *, char const *, va_list) ATTR_FORMAT_VPRINTF(4);
 82  /* See voleprintf for more documentation. */
 83  
 84  /* err-renumber */
 85  extern int
 86  voeprintf (int tag, int number, int /*options*/, char const *, va_list) ATTR_FORMAT_VPRINTF(4);
 87  /* See voleprintf for more documentation. */
 88  
 89  /* err-renumber */
 90  extern int
 91  vofleprintf (int tag, int number, int /*options*/, char const * /*file*/, int /*line*/, char const *, va_list) ATTR_FORMAT_VPRINTF(6);
 92  /* See voleprintf for more documentation. */
 93  
 94  /* err-renumber */
 95  extern int
 96  voflpeprintf (int tag, int number, int /*options*/, char const * /*file*/, int /*line*/, int /*pos*/, char const *, va_list) ATTR_FORMAT_VPRINTF(7);
 97  /* See voleprintf for more documentation. */
 98  
 99  /* voleprintf() is the generic function. */
100  
101  /* err-renumber */
102  extern int
103  vqeprintf (int tag, int number, char const *, va_list) ATTR_FORMAT_VPRINTF(3);
104  /* See voleprintf for more documentation. */
105  
106  /* err-renumber */
107  extern int
108  vqfleprintf (int tag, int number, char const * /*file*/, int /*line*/, char const *, va_list) ATTR_FORMAT_VPRINTF(5);
109  /* See voleprintf for more documentation. */
110  
111  /* err-renumber */
112  extern int
113  vqflpeprintf (int tag, int number, char const * /*file*/, int /*line*/, int /*pos*/, char const *, va_list) ATTR_FORMAT_VPRINTF(6);
114  /* See voleprintf for more documentation. */
115  
116  /* err-renumber */
117  extern int
118  vqleprintf (int tag, int number, err_location_t const *, char const *, va_list) ATTR_FORMAT_VPRINTF(4);
119  /* See voleprintf for more documentation. */
120  
121  
122  
123  /* err-renumber */
124  extern void
125  eprintf_devel (int tag, int number, char const *, ...) ATTR_FORMAT_PRINTF(3,4);
126  /* See voleprintf for more documentation. */
127  
128  /* err-renumber */
129  extern void
130  fleprintf_devel (int tag, int number, char const * /*file*/, int /*line*/, char const *, ...) ATTR_FORMAT_PRINTF(5,6);
131  /* See voleprintf for more documentation. */
132  
133  /* err-renumber */
134  extern void
135  flpeprintf_devel (int tag, int number, char const * /*file*/, int /*line*/, int /*pos*/, char const *, ...) ATTR_FORMAT_PRINTF(6,7);
136  /* See voleprintf for more documentation. */
137  
138  /* err-renumber */
139  extern void
140  leprintf_devel (int tag, int number, err_location_t const *, char const *, ...) ATTR_FORMAT_PRINTF(4,5);
141  /* See voleprintf for more documentation. */
142  
143  /* err-renumber */
144  extern void
145  oeprintf_devel (int tag, int number, int /*options*/, char const *, ...) ATTR_FORMAT_PRINTF(4,5);
146  /* See voleprintf for more documentation. */
147  
148  /* err-renumber */
149  extern void
150  ofleprintf_devel (int tag, int number, int /*options*/, char const * /*file*/, int /*line*/, char const *, ...) ATTR_FORMAT_PRINTF(6,7);
151  /* See voleprintf for more documentation. */
152  
153  /* err-renumber */
154  extern void
155  oflpeprintf_devel (int tag, int number, int /*options*/, char const * /*file*/, int /*line*/, int /*pos*/, char const *, ...) ATTR_FORMAT_PRINTF(7,8);
156  /* See voleprintf for more documentation. */
157  
158  /* err-renumber */
159  extern void
160  oleprintf_devel (int tag, int number, int /*options*/, err_location_t const *, char const *, ...) ATTR_FORMAT_PRINTF(5,6);
161  /* See voleprintf for more documentation. */
162  
163  /* err-renumber */
164  extern void
165  qeprintf_devel (int tag, int number, char const *, ...) ATTR_FORMAT_PRINTF(3,4);
166  /* See voleprintf for more documentation. */
167  
168  /* err-renumber */
169  extern void
170  qfleprintf_devel (int tag, int number, char const * /*file*/, int /*line*/, char const *, ...) ATTR_FORMAT_PRINTF(5,6);
171  /* See voleprintf for more documentation. */
172  
173  /* err-renumber */
174  extern void
175  qflpeprintf_devel (int tag, int number, char const * /*file*/, int /*line*/, int /*pos*/, char const *, ...) ATTR_FORMAT_PRINTF(6,7);
176  /* See voleprintf for more documentation. */
177  
178  /* err-renumber */
179  extern void
180  qleprintf_devel (int tag, int number, err_location_t const *, char const *, ...) ATTR_FORMAT_PRINTF(4,5);
181  /* See voleprintf for more documentation. */
182  
183  /* err-renumber */
184  extern void
185  veprintf_devel (int tag, int number, char const *, va_list) ATTR_FORMAT_VPRINTF(3);
186  /* See voleprintf for more documentation. */
187  
188  /* err-renumber */
189  extern void
190  vfleprintf_devel (int tag, int number, char const * /*file*/, int /*line*/, char const *, va_list) ATTR_FORMAT_VPRINTF(5);
191  /* See voleprintf for more documentation. */
192  
193  /* err-renumber */
194  extern void
195  vflpeprintf_devel (int tag, int number, char const * /*file*/, int /*line*/, int /*pos*/, char const *, va_list) ATTR_FORMAT_VPRINTF(6);
196  /* See voleprintf for more documentation. */
197  
198  /* err-renumber */
199  extern void
200  vleprintf_devel (int tag, int number, err_location_t const *, char const *, va_list) ATTR_FORMAT_VPRINTF(4);
201  /* See voleprintf for more documentation. */
202  
203  /* err-renumber */
204  extern void
205  voeprintf_devel (int tag, int number, int /*options*/, char const *, va_list) ATTR_FORMAT_VPRINTF(4);
206  /* See voleprintf for more documentation. */
207  
208  /* err-renumber */
209  extern void
210  vofleprintf_devel (int tag, int number, int /*options*/, char const * /*file*/, int /*line*/, char const *, va_list) ATTR_FORMAT_VPRINTF(6);
211  /* See voleprintf for more documentation. */
212  
213  /* err-renumber */
214  extern void
215  voflpeprintf_devel (int tag, int number, int /*options*/, char const * /*file*/, int /*line*/, int /*pos*/, char const *, va_list) ATTR_FORMAT_VPRINTF(7);
216  /* See voleprintf for more documentation. */
217  
218  /* err-renumber */
219  extern void
220  voleprintf_devel (int tag, int number, int /*options*/, err_location_t const *, char const *, va_list) ATTR_FORMAT_VPRINTF(5);
221  /* See voleprintf for more documentation. */
222  
223  /* err-renumber */
224  extern void
225  vqeprintf_devel (int tag, int number, char const *, va_list) ATTR_FORMAT_VPRINTF(3);
226  /* See voleprintf for more documentation. */
227  
228  /* err-renumber */
229  extern void
230  vqfleprintf_devel (int tag, int number, char const * /*file*/, int /*line*/, char const *, va_list) ATTR_FORMAT_VPRINTF(5);
231  /* See voleprintf for more documentation. */
232  
233  /* err-renumber */
234  extern void
235  vqflpeprintf_devel (int tag, int number, char const * /*file*/, int /*line*/, int /*pos*/, char const *, va_list) ATTR_FORMAT_VPRINTF(6);
236  /* See voleprintf for more documentation. */
237  
238  /* err-renumber */
239  extern void
240  vqleprintf_devel (int tag, int number, err_location_t const *, char const *, va_list) ATTR_FORMAT_VPRINTF(4);
241  /* See voleprintf for more documentation. */
242  
243  
244  #if defined(NDEBUG) || defined(RELEASE)
245  #ifdef __GNUC__
246  
247  /* err-skip */
248  #define deprintf(X...)       ((void)0)
249  
250  /* err-skip */
251  #define fldeprintf(X...)     ((void)0)
252  
253  /* err-skip */
254  #define flpdeprintf(X...)    ((void)0)
255  
256  /* err-skip */
257  #define ldeprintf(X...)      ((void)0)
258  
259  /* err-skip */
260  #define odeprintf(X...)      ((void)0)
261  
262  /* err-skip */
263  #define ofldeprintf(X...)    ((void)0)
264  
265  /* err-skip */
266  #define oflpdeprintf(X...)   ((void)0)
267  
268  /* err-skip */
269  #define oldeprintf(X...)     ((void)0)
270  
271  /* err-skip */
272  #define qdeprintf(X...)      ((void)0)
273  
274  /* err-skip */
275  #define qfldeprintf(X...)    ((void)0)
276  
277  /* err-skip */
278  #define qflpdeprintf(X...)   ((void)0)
279  
280  /* err-skip */
281  #define qldeprintf(X...)     ((void)0)
282  
283  /* err-skip */
284  #define vdeprintf(X...)      ((void)0)
285  
286  /* err-skip */
287  #define vfldeprintf(X...)    ((void)0)
288  
289  /* err-skip */
290  #define vflpdeprintf(X...)   ((void)0)
291  
292  /* err-skip */
293  #define vldeprintf(X...)     ((void)0)
294  
295  /* err-skip */
296  #define vodeprintf(X...)     ((void)0)
297  
298  /* err-skip */
299  #define vofldeprintf(X...)   ((void)0)
300  
301  /* err-skip */
302  #define voflpdeprintf(X...)  ((void)0)
303  
304  /* err-skip */
305  #define voldeprintf(X...)    ((void)0)
306  
307  /* err-skip */
308  #define vqdeprintf(X...)     ((void)0)
309  
310  /* err-skip */
311  #define vqfldeprintf(X...)   ((void)0)
312  
313  /* err-skip */
314  #define vqflpdeprintf(X...)  ((void)0)
315  
316  /* err-skip */
317  #define vqldeprintf(X...)    ((void)0)
318  
319  
320  #else
321  
322  /* err-skip */
323  #define deprintf             while (0) /*err-skip*/ eprintf_devel
324  
325  /* err-skip */
326  #define fldeprintf           while (0) /*err-skip*/ fleprintf_devel
327  
328  /* err-skip */
329  #define flpdeprintf          while (0) /*err-skip*/ flpeprintf_devel
330  
331  /* err-skip */
332  #define ldeprintf            while (0) /*err-skip*/ leprintf_devel
333  
334  /* err-skip */
335  #define odeprintf            while (0) /*err-skip*/ oeprintf_devel
336  
337  /* err-skip */
338  #define ofldeprintf          while (0) /*err-skip*/ ofleprintf_devel
339  
340  /* err-skip */
341  #define oflpdeprintf         while (0) /*err-skip*/ oflpeprintf_devel
342  
343  /* err-skip */
344  #define oldeprintf           while (0) /*err-skip*/ oleprintf_devel
345  
346  /* err-skip */
347  #define qdeprintf            while (0) /*err-skip*/ qeprintf_devel
348  
349  /* err-skip */
350  #define qfldeprintf          while (0) /*err-skip*/ qfleprintf_devel
351  
352  /* err-skip */
353  #define qflpdeprintf         while (0) /*err-skip*/ qflpeprintf_devel
354  
355  /* err-skip */
356  #define qldeprintf           while (0) /*err-skip*/ qleprintf_devel
357  
358  /* err-skip */
359  #define vdeprintf            while (0) /*err-skip*/ veprintf_devel
360  
361  /* err-skip */
362  #define vfldeprintf          while (0) /*err-skip*/ vfleprintf_devel
363  
364  /* err-skip */
365  #define vflpdeprintf         while (0) /*err-skip*/ vflpeprintf_devel
366  
367  /* err-skip */
368  #define vldeprintf           while (0) /*err-skip*/ vleprintf_devel
369  
370  /* err-skip */
371  #define vodeprintf           while (0) /*err-skip*/ voeprintf_devel
372  
373  /* err-skip */
374  #define vofldeprintf         while (0) /*err-skip*/ vofleprintf_devel
375  
376  /* err-skip */
377  #define voflpdeprintf        while (0) /*err-skip*/ voflpeprintf_devel
378  
379  /* err-skip */
380  #define voldeprintf          while (0) /*err-skip*/ voleprintf_devel
381  
382  /* err-skip */
383  #define vqdeprintf           while (0) /*err-skip*/ vqeprintf_devel
384  
385  /* err-skip */
386  #define vqfldeprintf         while (0) /*err-skip*/ vqfleprintf_devel
387  
388  /* err-skip */
389  #define vqflpdeprintf        while (0) /*err-skip*/ vqflpeprintf_devel
390  
391  /* err-skip */
392  #define vqldeprintf          while (0) /*err-skip*/ vqleprintf_devel
393  
394  
395  #endif
396  #else
397  
398  /* err-renumber name=deprintf             =eprintf */
399  /* err-skip */
400  #define deprintf             /*err-skip*/ eprintf_devel
401  
402  /* err-renumber name=fldeprintf           =fleprintf */
403  /* err-skip */
404  #define fldeprintf           /*err-skip*/ fleprintf_devel
405  
406  /* err-renumber name=flpdeprintf          =flpeprintf */
407  /* err-skip */
408  #define flpdeprintf          /*err-skip*/ flpeprintf_devel
409  
410  /* err-renumber name=ldeprintf            =leprintf */
411  /* err-skip */
412  #define ldeprintf            /*err-skip*/ leprintf_devel
413  
414  /* err-renumber name=odeprintf            =oeprintf */
415  /* err-skip */
416  #define odeprintf            /*err-skip*/ oeprintf_devel
417  
418  /* err-renumber name=ofldeprintf          =ofleprintf */
419  /* err-skip */
420  #define ofldeprintf          /*err-skip*/ ofleprintf_devel
421  
422  /* err-renumber name=oflpdeprintf         =oflpeprintf */
423  /* err-skip */
424  #define oflpdeprintf         /*err-skip*/ oflpeprintf_devel
425  
426  /* err-renumber name=oldeprintf           =oleprintf */
427  /* err-skip */
428  #define oldeprintf           /*err-skip*/ oleprintf_devel
429  
430  /* err-renumber name=qdeprintf            =qeprintf */
431  /* err-skip */
432  #define qdeprintf            /*err-skip*/ qeprintf_devel
433  
434  /* err-renumber name=qfldeprintf          =qfleprintf */
435  /* err-skip */
436  #define qfldeprintf          /*err-skip*/ qfleprintf_devel
437  
438  /* err-renumber name=qflpdeprintf         =qflpeprintf */
439  /* err-skip */
440  #define qflpdeprintf         /*err-skip*/ qflpeprintf_devel
441  
442  /* err-renumber name=qldeprintf           =qleprintf */
443  /* err-skip */
444  #define qldeprintf           /*err-skip*/ qleprintf_devel
445  
446  /* err-renumber name=vdeprintf            =veprintf */
447  /* err-skip */
448  #define vdeprintf            /*err-skip*/ veprintf_devel
449  
450  /* err-renumber name=vfldeprintf          =vfleprintf */
451  /* err-skip */
452  #define vfldeprintf          /*err-skip*/ vfleprintf_devel
453  
454  /* err-renumber name=vflpdeprintf         =vflpeprintf */
455  /* err-skip */
456  #define vflpdeprintf         /*err-skip*/ vflpeprintf_devel
457  
458  /* err-renumber name=vldeprintf           =vleprintf */
459  /* err-skip */
460  #define vldeprintf           /*err-skip*/ vleprintf_devel
461  
462  /* err-renumber name=vodeprintf           =voeprintf */
463  /* err-skip */
464  #define vodeprintf           /*err-skip*/ voeprintf_devel
465  
466  /* err-renumber name=vofldeprintf         =vofleprintf */
467  /* err-skip */
468  #define vofldeprintf         /*err-skip*/ vofleprintf_devel
469  
470  /* err-renumber name=voflpdeprintf        =voflpeprintf */
471  /* err-skip */
472  #define voflpdeprintf        /*err-skip*/ voflpeprintf_devel
473  
474  /* err-renumber name=voldeprintf          =voleprintf */
475  /* err-skip */
476  #define voldeprintf          /*err-skip*/ voleprintf_devel
477  
478  /* err-renumber name=vqdeprintf           =vqeprintf */
479  /* err-skip */
480  #define vqdeprintf           /*err-skip*/ vqeprintf_devel
481  
482  /* err-renumber name=vqfldeprintf         =vqfleprintf */
483  /* err-skip */
484  #define vqfldeprintf         /*err-skip*/ vqfleprintf_devel
485  
486  /* err-renumber name=vqflpdeprintf        =vqflpeprintf */
487  /* err-skip */
488  #define vqflpdeprintf        /*err-skip*/ vqflpeprintf_devel
489  
490  /* err-renumber name=vqldeprintf          =vqleprintf */
491  /* err-skip */
492  #define vqldeprintf          /*err-skip*/ vqleprintf_devel
493  
494  
495  #endif

Index

Stoppt die Vorratsdatenspeicherung
November 26th, 2007
Comments? Suggestions? Corrections? You can drop me a line.
zpentrabvagiktu@theiling.de
Schwerpunktpraxis