source: tests/include/includes.cfa @ e6bb667

ADTast-experimentalpthread-emulationqualifiedEnum
Last change on this file since e6bb667 was e6bb667, checked in by Peter A. Buhr <pabuhr@…>, 23 months ago

add conditional include-file check for uninstalled libraries, update expected output

  • Property mode set to 100644
File size: 4.2 KB
Line 
1//
2// Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo
3//
4// The contents of this file are covered under the licence agreement in the
5// file "LICENCE" distributed with Cforall.
6//
7// includes.cfa --
8//
9// Author           : Peter A. Buhr
10// Created On       : Wed May 27 17:56:53 2015
11// Last Modified By : Peter A. Buhr
12// Last Modified On : Tue May 10 16:36:44 2022
13// Update Count     : 776
14//
15
16#ifdef __CFA__
17extern "C" {
18#endif // __CFA__
19
20#if 1
21//#define _GNU_SOURCE
22#include <aio.h>
23#include <aliases.h>
24#include <alloca.h>
25#include <ar.h>
26#include <argp.h>
27#include <argz.h>
28#include <assert.h>
29#include <byteswap.h>
30#include <complex.h>
31#include <cpio.h>
32#include <crypt.h>
33#include <ctype.h>
34#if __has_include( "curses.h" )
35#include <curses.h>                                                                             // may not be installed
36#endif
37#include <dirent.h>
38#include <dlfcn.h>
39#include <elf.h>
40#include <endian.h>
41#include <envz.h>
42#include <err.h>
43#include <errno.h>
44#include <error.h>
45#if __has_include( "eti.h" )
46#include <eti.h>                                                                                // may not be installed, comes with ncurses
47#endif
48#include <execinfo.h>
49#include <expat.h>
50#include <expat_external.h>
51#include <fcntl.h>
52#include <features.h>
53#include <fenv.h>
54#include <fmtmsg.h>
55#include <fnmatch.h>
56#if __has_include( "form.h" )
57#include <form.h>                                                                               // may not be installed, comes with ncurses
58#endif
59#include <fstab.h>
60#include <fts.h>
61#include <ftw.h>
62#include <sys/types.h>
63//#include <gawkapi.h>                                                                  // CFA bug #240 nested anonymous enum fails
64#include <gconv.h>
65#include <getopt.h>
66#include <glob.h>
67#include <gnumake.h>
68#include <gnu-versions.h>
69#include <grp.h>
70#include <gshadow.h>
71#include <iconv.h>
72#include <ifaddrs.h>
73#include <inttypes.h>
74#include <langinfo.h>
75#include <lastlog.h>
76#include <libgen.h>
77#include <libintl.h>
78#include <limits.h>
79//#include <link.h>                                                                             // CFA bug #240 nested anonymous enum fails
80#include <locale.h>
81#include <ltdl.h>
82//#include <malloc.h>                                                                   // cannot include in extern "C" because of CFA #include_next
83#include <math.h>
84#include <mcheck.h>
85#include <memory.h>
86#if __has_include( "menu.h" )
87#include <menu.h>                                                                               // may not be installed, comes with ncurses
88#endif
89#include <mntent.h>
90#include <monetary.h>
91#include <mqueue.h>
92#if __has_include( "ncurses_dll.h" )
93#include <ncurses_dll.h>                                                                // may not be installed, comes with ncurses
94#endif
95#include <netdb.h>
96#include <nl_types.h>
97#include <nss.h>
98#include <obstack.h>
99#if __has_include( "panel.h" )
100#include <panel.h>                                                                              // may not be installed, comes with ncurses
101#endif
102#include <paths.h>
103#include <poll.h>
104#include <printf.h>
105#include <pthread.h>
106#include <pty.h>
107#include <pwd.h>
108#include <regex.h>
109#include <resolv.h>
110#include <re_comp.h>
111#include <sched.h>
112#include <search.h>
113#include <semaphore.h>
114#include <setjmp.h>
115#include <sgtty.h>
116#include <shadow.h>
117#include <signal.h>
118#include <spawn.h>
119#include <stab.h>
120#include <stdc-predef.h>
121#include <stdint.h>
122#include <stdio.h>
123#include <stdio_ext.h>
124#include <stdlib.h>
125#include <string.h>
126#include <strings.h>
127#include <sudo_plugin.h>
128#include <syscall.h>
129#include <sysexits.h>
130#include <syslog.h>
131#include <tar.h>
132#if __has_include( "term.h" )
133#include <term.h>                                                                               // may not be installed, comes with ncurses
134#include <termcap.h>                                                                    // may not be installed, comes with ncurses
135#endif
136#include <termio.h>
137#include <termios.h>
138// #include <term_entry.h>                                                              // conflicts with search.h on some machines
139#include <tgmath.h>
140//#include <threads.h>                                                                  // does not exist
141#include <thread_db.h>
142#include <time.h>
143#include <ttyent.h>
144#include <uchar.h>
145#include <ucontext.h>
146#include <ulimit.h>
147#if __has_include( "unctrl.h" )
148#include <unctrl.h>                                                                             // may not be installed, comes with ncurses
149#endif
150#include <unistd.h>
151#include <utime.h>
152#include <utmp.h>
153#include <utmpx.h>
154#include <values.h>
155#pragma GCC diagnostic push
156#pragma GCC diagnostic ignored "-Wattributes"
157#include <wait.h>
158#pragma GCC diagnostic pop
159#include <wchar.h>
160#include <wctype.h>
161#include <wordexp.h>
162#endif // 0
163
164#ifdef __CFA__
165} // extern "C"
166#endif // __CFA__
167
168int main( int argc, char const * argv[] ) {
169    #pragma GCC warning "Compiled"                                                      // force non-empty .expect file, NO TABS!!!
170}
171
172// Local Variables: //
173// tab-width: 4 //
174// compile-command: "cfa includes.cfa" //
175// End: //
Note: See TracBrowser for help on using the repository browser.