Check for SYS/GL during library init. Reason is that
[AROS.git] / test / cplusplus / headertest.cpp
blobc4f9a54a4e1fd16735293ae41f2fb3b2751dcfdc
1 /*
2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 // purpose of this test is to find out if our headers are C++ compatible
8 // net headers need this
9 #define __BSD_VISIBLE 1
11 // get rid of a dbus error
12 #define DBUS_API_SUBJECT_TO_CHANGE
14 // ADF redefines AROS types
15 //#include <adf/adf_blk.h>
16 //#include <adf/adf_defs.h>
17 //#include <adf/adf_err.h>
18 //#include <adf/adf_hd.h>
19 //#include <adf/adf_str.h>
20 //#include <adf/adflib.h>
21 //#include <adf/defendian.h>
22 #include <alloca.h>
23 #include <aros/64bit.h>
24 //#include <aros/arm/_fpmath.h>
25 //#include <aros/arm/atomic_v6.h>
26 //#include <aros/arm/atomic_v7.h>
27 //#include <aros/arm/atomic.h>
28 //#include <aros/arm/cpu.h>
29 //#include <aros/arm/cpucontext.h>
30 //#include <aros/arm/fenv.h>
31 #include <aros/arosbase.h>
32 #include <aros/arossupportbase.h>
33 #include <aros/asmcall.h>
34 #include <aros/atomic.h>
35 #include <aros/autoinit.h>
36 #include <aros/bigendianio.h>
37 #include <aros/bootloader.h>
38 #include <aros/build.h>
39 #include <aros/config.h>
40 #include <aros/cpu.h>
41 #include <aros/debug.h>
42 #include <aros/detach.h>
43 //#include <aros/i386/_fpmath.h>
44 //#include <aros/i386/atomic.h>
45 //#include <aros/i386/cpu.h>
46 //#include <aros/i386/cpucontext.h>
47 //#include <aros/i386/fenv.h>
48 #include <aros/inquire.h>
49 #include <aros/io.h>
50 #include <aros/kernel.h>
51 #include <aros/libcall.h>
52 #include <aros/locale.h>
53 //#include <aros/m68k/_fpmath.h>
54 //#include <aros/m68k/atomic.h>
55 //#include <aros/m68k/cpu.h>
56 //#include <aros/m68k/cpucontext.h>
57 //#include <aros/m68k/fenv.h>
58 //#include <aros/m68k/fpucontext.h>
59 //#include <aros/m68k/libcall.h>
60 #include <aros/macros.h>
61 #include <aros/mathieee64bitdefines.h>
62 //#include <aros/morphos/cpu.h>
63 #include <aros/multiboot.h>
64 #include <aros/oldprograms.h>
65 //#include <aros/ppc/_fpmath.h>
66 //#include <aros/ppc/atomic.h>
67 //#include <aros/ppc/cpu.h>
68 //#include <aros/ppc/cpucontext.h>
69 //#include <aros/ppc/fenv.h>
70 #include <aros/purify.h>
71 #include <aros/rt.h>
72 #include <aros/shcommands_embedded.h>
73 #include <aros/shcommands_notembedded.h>
74 #include <aros/shcommands.h>
75 #include <aros/startup.h>
76 #include <aros/symbolsets.h>
77 #include <aros/system.h>
78 #include <aros/systypes.h>
79 #include <aros/types/blk_t.h>
80 #include <aros/types/clock_t.h>
81 #include <aros/types/clockid_t.h>
82 #include <aros/types/dev_t.h>
83 #include <aros/types/fs_t.h>
84 #include <aros/types/gid_t.h>
85 #include <aros/types/id_t.h>
86 #include <aros/types/ino_t.h>
87 #include <aros/types/int_t.h>
88 #include <aros/types/intptr_t.h>
89 #include <aros/types/iovec_s.h>
90 #include <aros/types/itimerspec_s.h>
91 #include <aros/types/key_t.h>
92 #include <aros/types/mbstate_t.h>
93 #include <aros/types/mode_t.h>
94 #include <aros/types/nlink_t.h>
95 #include <aros/types/null.h>
96 #include <aros/types/off_t.h>
97 #include <aros/types/pid_t.h>
98 #include <aros/types/ptrdiff_t.h>
99 #include <aros/types/regoff_t.h>
100 #include <aros/types/seek.h>
101 #include <aros/types/sigaction_s.h>
102 #include <aros/types/sigevent_s.h>
103 #include <aros/types/siginfo_t.h>
104 #include <aros/types/sigset_t.h>
105 #include <aros/types/size_t.h>
106 #include <aros/types/socklen_t.h>
107 #include <aros/types/ssize_t.h>
108 #include <aros/types/stack_t.h>
109 #include <aros/types/suseconds_t.h>
110 #include <aros/types/time_t.h>
111 #include <aros/types/timer_t.h>
112 #include <aros/types/timespec_s.h>
113 #include <aros/types/timeval_s.h>
114 #include <aros/types/ucontext_t.h>
115 #include <aros/types/uid_t.h>
116 #include <aros/types/uintptr_t.h>
117 #include <aros/types/useconds_t.h>
118 #include <aros/types/wchar_t.h>
119 #include <aros/types/wint_t.h>
120 //#include <aros/x86_64/_fpmath.h>
121 //#include <aros/x86_64/atomic.h>
122 //#include <aros/x86_64/cpu.h>
123 //#include <aros/x86_64/cpucontext.h>
124 //#include <aros/x86_64/fenv.h>
125 #include <arpa/ftp.h>
126 #include <arpa/inet.h>
127 #include <arpa/nameser.h>
128 #include <arpa/telnet.h>
129 #include <arpa/tftp.h>
130 //#include <asm/arm/cpu.h>
131 //#include <asm/arm/mx51.h>
132 #include <asm/cpu.h>
133 //#include <asm/i386/cpu.h>
134 //#include <asm/i386/io.h>
135 #include <asm/io.h>
136 //#include <asm/ppc/io.h>
137 //#include <asm/x86_64/cpu.h>
138 #include <assert.h>
140 #include <bluetooth/assignednumbers.h>
141 #include <bluetooth/avdtp.h>
142 #include <bluetooth/hci.h>
143 #include <bluetooth/l2cap.h>
144 #include <bluetooth/rfcomm.h>
145 #include <bluetooth/sdp.h>
147 #include <bsdsocket/socketbasetags.h>
148 #include <bsdsocket/types.h>
149 #include <bzlib.h>
151 // disabled because it redefines some AROS types
152 //#include <c_iff.h>
154 #include <complex.h>
155 #include <ctype.h>
156 #include <cybergraphx/cgxvideo.h>
157 #include <cybergraphx/cybergraphics.h>
159 #include <datatypes/amigaguideclass.h>
160 #include <datatypes/animationclass.h>
161 #include <datatypes/datatypes.h>
162 #include <datatypes/datatypesclass.h>
163 #include <datatypes/pictureclass.h>
164 #include <datatypes/PictureClassExt.h>
165 #include <datatypes/soundclass.h>
166 #include <datatypes/soundclassext.h>
167 #include <datatypes/textclass.h>
169 // only <dbus/dbus.h> can be included
170 //#include <dbus/dbus-address.h>
171 //#include <dbus/dbus-arch-deps.h>
172 //#include <dbus/dbus-bus.h>
173 //#include <dbus/dbus-connection.h>
174 //#include <dbus/dbus-errors.h>
175 //#include <dbus/dbus-macros.h>
176 //#include <dbus/dbus-memory.h>
177 //#include <dbus/dbus-message.h>
178 //#include <dbus/dbus-pending-call.h>
179 //#include <dbus/dbus-protocol.h>
180 //#include <dbus/dbus-server.h>
181 //#include <dbus/dbus-shared.h>
182 //#include <dbus/dbus-threads.h>
183 //#include <dbus/dbus-types.h>
184 #include <dbus/dbus.h>
186 #include <devices/ahi.h>
187 #include <devices/audio.h>
188 #include <devices/bluetoothhci.h>
189 #include <devices/bootblock.h>
190 #include <devices/cd.h>
191 #include <devices/clipboard.h>
192 #include <devices/console.h>
193 #include <devices/conunit.h>
194 #include <devices/gameport.h>
195 #include <devices/hardblocks.h>
196 #include <devices/input.h>
197 #include <devices/inputevent.h>
198 #include <devices/irda.h>
199 #include <devices/keyboard.h>
200 #include <devices/keymap.h>
201 #include <devices/narrator.h>
202 #include <devices/newstyle.h>
203 #include <devices/parallel.h>
204 #include <devices/printer.h>
205 #include <devices/prtbase.h>
206 #include <devices/prtgfx.h>
207 #include <devices/rawkeycodes.h>
208 #include <devices/sana2.h>
209 #include <devices/sana2specialstats.h>
210 #include <devices/scsidisk.h>
211 #include <devices/serial.h>
212 #include <devices/timer.h>
213 #include <devices/trackdisk.h>
214 #include <devices/usb_audio.h>
215 #include <devices/usb_cdc.h>
216 #include <devices/usb_dfu.h>
217 #include <devices/usb_hid.h>
218 #include <devices/usb_hub.h>
219 #include <devices/usb_massstorage.h>
220 #include <devices/usb_printer.h>
221 #include <devices/usb_video.h>
222 #include <devices/usb.h>
223 #include <devices/usbhardware.h>
225 #include <dirent.h>
227 #include <diskfont/diskfont.h>
228 #include <diskfont/diskfonttag.h>
229 #include <diskfont/glyph.h>
230 #include <diskfont/oterrors.h>
232 #include <dos/bptr.h>
233 #include <dos/datetime.h>
234 #include <dos/dos.h>
235 #include <dos/dosasl.h>
236 #include <dos/dosextens.h>
237 #include <dos/doshunks.h>
238 #include <dos/dostags.h>
239 #include <dos/elf.h>
240 #include <dos/exall.h>
241 #include <dos/filehandler.h>
242 #include <dos/notify.h>
243 #include <dos/rdargs.h>
244 #include <dos/record.h>
245 #include <dos/stdio.h>
246 #include <dos/var.h>
248 #include <EGL/egl.h>
249 #include <EGL/eglext.h>
250 #include <EGL/eglplatform.h>
252 #include <endian.h>
253 #include <err.h>
254 #include <errno.h>
256 #include <exec/alerts.h>
257 #include <exec/avl.h>
258 #include <exec/devices.h>
259 #include <exec/errors.h>
260 #include <exec/exec.h>
261 #include <exec/execbase.h>
262 #include <exec/initializers.h>
263 #include <exec/interrupts.h>
264 #include <exec/io.h>
265 #include <exec/libraries.h>
266 #include <exec/lists.h>
267 #include <exec/memheaderext.h>
268 #include <exec/memory.h>
269 #include <exec/nodes.h>
270 #include <exec/ports.h>
271 #include <exec/rawfmt.h>
272 #include <exec/resident.h>
273 #include <exec/semaphores.h>
274 #include <exec/tasks.h>
275 #include <exec/types.h>
277 #include <fcntl.h>
278 #include <fenv.h>
279 #include <fpmath.h>
281 #include <freetype/config/ftconfig.h>
282 #include <freetype/config/ftheader.h>
283 //#include <freetype/config/ftmodule.h>
284 #include <freetype/config/ftoption.h>
285 #include <freetype/config/ftstdlib.h>
286 #include <freetype/freetype.h>
287 #include <freetype/ftbbox.h>
288 #include <freetype/ftbdf.h>
289 #include <freetype/ftbitmap.h>
290 #include <freetype/ftcache.h>
291 #include <freetype/ftchapters.h>
292 #include <freetype/ftcid.h>
293 #include <freetype/fterrdef.h>
294 #include <freetype/fterrors.h>
295 #include <freetype/ftgasp.h>
296 #include <freetype/ftglyph.h>
297 #include <freetype/ftgxval.h>
298 #include <freetype/ftgzip.h>
299 #include <freetype/ftimage.h>
300 #include <freetype/ftincrem.h>
301 #include <freetype/ftlcdfil.h>
302 #include <freetype/ftlist.h>
303 #include <freetype/ftlzw.h>
304 #include <freetype/ftmac.h>
305 #include <freetype/ftmm.h>
306 #include <freetype/ftmodapi.h>
307 #include <freetype/ftmoderr.h>
308 #include <freetype/ftotval.h>
309 #include <freetype/ftoutln.h>
310 #include <freetype/ftpfr.h>
311 #include <freetype/ftrender.h>
312 #include <freetype/ftsizes.h>
313 #include <freetype/ftsnames.h>
314 #include <freetype/ftstroke.h>
315 #include <freetype/ftsynth.h>
316 #include <freetype/ftsystem.h>
317 #include <freetype/fttrigon.h>
318 #include <freetype/fttypes.h>
319 #include <freetype/ftwinfnt.h>
320 #include <freetype/ftxf86.h>
321 //#include <freetype/internal/autohint.h>
322 //#include <freetype/internal/ftcalc.h>
323 //#include <freetype/internal/ftdebug.h>
324 //#include <freetype/internal/ftdriver.h>
325 //#include <freetype/internal/ftgloadr.h>
326 //#include <freetype/internal/ftmemory.h>
327 //#include <freetype/internal/ftobjs.h>
328 //#include <freetype/internal/ftrfork.h>
329 //#include <freetype/internal/ftserv.h>
330 //#include <freetype/internal/ftstream.h>
331 //#include <freetype/internal/fttrace.h>
332 //#include <freetype/internal/ftvalid.h>
333 //#include <freetype/internal/internal.h>
334 //#include <freetype/internal/pcftypes.h>
335 //#include <freetype/internal/psaux.h>
336 //#include <freetype/internal/pshints.h>
337 //#include <freetype/internal/sfnt.h>
338 //#include <freetype/internal/t1types.h>
339 //#include <freetype/internal/tttypes.h>
340 #include <freetype/t1tables.h>
341 #include <freetype/ttnameid.h>
342 #include <freetype/tttables.h>
343 #include <freetype/tttags.h>
344 #include <freetype/ttunpat.h>
345 #include <ft2build.h>
347 #include <gadgets/aroscheckbox.h>
348 #include <gadgets/aroscycle.h>
349 #include <gadgets/aroslist.h>
350 #include <gadgets/aroslistview.h>
351 #include <gadgets/arosmx.h>
352 #include <gadgets/arospalette.h>
353 #include <gadgets/colorwheel.h>
354 #include <gadgets/gradientslider.h>
355 #include <gadgets/tapedeck.h>
357 //#include <gallium/cso_cache/cso_cache.h>
358 //#include <gallium/cso_cache/cso_context.h>
359 //#include <gallium/cso_cache/cso_hash.h>
360 //#include <gallium/draw/draw_cliptest_tmp.h>
361 //#include <gallium/draw/draw_context.h>
362 //#include <gallium/draw/draw_decompose_tmp.h>
363 //#include <gallium/draw/draw_fs.h>
364 //#include <gallium/draw/draw_gs_tmp.h>
365 //#include <gallium/draw/draw_gs.h>
366 //#include <gallium/draw/draw_llvm.h>
367 //#include <gallium/draw/draw_pipe.h>
368 //#include <gallium/draw/draw_private.h>
369 //#include <gallium/draw/draw_pt_decompose.h>
370 //#include <gallium/draw/draw_pt_vsplit_tmp.h>
371 //#include <gallium/draw/draw_pt.h>
372 //#include <gallium/draw/draw_so_emit_tmp.h>
373 //#include <gallium/draw/draw_split_tmp.h>
374 //#include <gallium/draw/draw_vbuf.h>
375 //#include <gallium/draw/draw_vertex.h>
376 //#include <gallium/draw/draw_vs_aos.h>
377 //#include <gallium/draw/draw_vs.h>
378 #include <gallium/gallium.h>
379 //#include <gallium/indices/u_indices_priv.h>
380 //#include <gallium/indices/u_indices.h>
381 //#include <gallium/os/os_memory_aligned.h>
382 //#include <gallium/os/os_memory_debug.h>
383 //#include <gallium/os/os_memory_stdc.h>
384 //#include <gallium/os/os_memory_win32k.h>
385 //#include <gallium/os/os_memory.h>
386 //#include <gallium/os/os_misc.h>
387 //#include <gallium/os/os_stream.h>
388 //#include <gallium/os/os_thread.h>
389 //#include <gallium/os/os_time.h>
390 //#include <gallium/pipe/p_aros_version.h>
391 //#include <gallium/pipe/p_compiler.h>
392 //#include <gallium/pipe/p_config.h>
393 //#include <gallium/pipe/p_context.h>
394 //#include <gallium/pipe/p_defines.h>
395 //#include <gallium/pipe/p_format.h>
396 //#include <gallium/pipe/p_screen.h>
397 //#include <gallium/pipe/p_shader_tokens.h>
398 //#include <gallium/pipe/p_state.h>
399 //#include <gallium/pipebuffer/pb_buffer_fenced.h>
400 //#include <gallium/pipebuffer/pb_buffer.h>
401 //#include <gallium/pipebuffer/pb_bufmgr.h>
402 //#include <gallium/pipebuffer/pb_validate.h>
403 //#include <gallium/rbug/rbug_connection.h>
404 //#include <gallium/rbug/rbug_context.h>
405 //#include <gallium/rbug/rbug_core.h>
406 //#include <gallium/rbug/rbug_internal.h>
407 //#include <gallium/rbug/rbug_proto.h>
408 //#include <gallium/rbug/rbug_shader.h>
409 //#include <gallium/rbug/rbug_texture.h>
410 //#include <gallium/rbug/rbug.h>
411 //#include <gallium/rtasm/rtasm_cpu.h>
412 //#include <gallium/rtasm/rtasm_execmem.h>
413 //#include <gallium/rtasm/rtasm_ppc_spe.h>
414 //#include <gallium/rtasm/rtasm_ppc.h>
415 //#include <gallium/rtasm/rtasm_x86sse.h>
416 //#include <gallium/tgsi/tgsi_build.h>
417 //#include <gallium/tgsi/tgsi_dump.h>
418 //#include <gallium/tgsi/tgsi_exec.h>
419 //#include <gallium/tgsi/tgsi_info.h>
420 //#include <gallium/tgsi/tgsi_iterate.h>
421 //#include <gallium/tgsi/tgsi_opcode_tmp.h>
422 //#include <gallium/tgsi/tgsi_parse.h>
423 //#include <gallium/tgsi/tgsi_ppc.h>
424 //#include <gallium/tgsi/tgsi_sanity.h>
425 //#include <gallium/tgsi/tgsi_scan.h>
426 //#include <gallium/tgsi/tgsi_sse2.h>
427 //#include <gallium/tgsi/tgsi_text.h>
428 //#include <gallium/tgsi/tgsi_transform.h>
429 //#include <gallium/tgsi/tgsi_ureg.h>
430 //#include <gallium/tgsi/tgsi_util.h>
431 //#include <gallium/translate/translate_cache.h>
432 //#include <gallium/translate/translate.h>
433 //#include <gallium/util/u_atomic.h>
434 //#include <gallium/util/u_bitmask.h>
435 //#include <gallium/util/u_blit.h>
436 //#include <gallium/util/u_blitter.h>
437 //#include <gallium/util/u_box.h>
438 //#include <gallium/util/u_cache.h>
439 //#include <gallium/util/u_caps.h>
440 //#include <gallium/util/u_clear.h>
441 //#include <gallium/util/u_cpu_detect.h>
442 //#include <gallium/util/u_debug_describe.h>
443 //#include <gallium/util/u_debug_refcnt.h>
444 //#include <gallium/util/u_debug_stack.h>
445 //#include <gallium/util/u_debug_symbol.h>
446 //#include <gallium/util/u_debug.h>
447 //#include <gallium/util/u_dirty_flags.h>
448 //#include <gallium/util/u_dirty_surfaces.h>
449 //#include <gallium/util/u_dl.h>
450 //#include <gallium/util/u_double_list.h>
451 //#include <gallium/util/u_draw_quad.h>
452 //#include <gallium/util/u_draw.h>
453 //#include <gallium/util/u_dump.h>
454 //#include <gallium/util/u_dynarray.h>
455 //#include <gallium/util/u_fifo.h>
456 //#include <gallium/util/u_format_other.h>
457 //#include <gallium/util/u_format_s3tc.h>
458 //#include <gallium/util/u_format_srgb.h>
459 //#include <gallium/util/u_format_tests.h>
460 //#include <gallium/util/u_format_yuv.h>
461 //#include <gallium/util/u_format_zs.h>
462 //#include <gallium/util/u_format.h>
463 //#include <gallium/util/u_framebuffer.h>
464 //#include <gallium/util/u_gen_mipmap.h>
465 //#include <gallium/util/u_half.h>
466 //#include <gallium/util/u_handle_table.h>
467 //#include <gallium/util/u_hash_table.h>
468 //#include <gallium/util/u_hash.h>
469 //#include <gallium/util/u_index_modify.h>
470 //#include <gallium/util/u_init.h>
471 //#include <gallium/util/u_inlines.h>
472 //#include <gallium/util/u_keymap.h>
473 //#include <gallium/util/u_linear.h>
474 //#include <gallium/util/u_linkage.h>
475 //#include <gallium/util/u_math.h>
476 //#include <gallium/util/u_memory.h>
477 //#include <gallium/util/u_mm.h>
478 //#include <gallium/util/u_network.h>
479 //#include <gallium/util/u_pack_color.h>
480 //#include <gallium/util/u_pointer.h>
481 //#include <gallium/util/u_prim.h>
482 //#include <gallium/util/u_rect.h>
483 //#include <gallium/util/u_ringbuffer.h>
484 //#include <gallium/util/u_sampler.h>
485 //#include <gallium/util/u_simple_list.h>
486 //#include <gallium/util/u_simple_screen.h>
487 //#include <gallium/util/u_simple_shaders.h>
488 //#include <gallium/util/u_slab.h>
489 //#include <gallium/util/u_split_prim.h>
490 //#include <gallium/util/u_sse.h>
491 //#include <gallium/util/u_staging.h>
492 //#include <gallium/util/u_string.h>
493 //#include <gallium/util/u_surface.h>
494 //#include <gallium/util/u_surfaces.h>
495 //#include <gallium/util/u_texture.h>
496 //#include <gallium/util/u_tile.h>
497 //#include <gallium/util/u_time.h>
498 //#include <gallium/util/u_transfer.h>
499 //#include <gallium/util/u_upload_mgr.h>
501 #include <getopt.h>
503 #include <GL/gla.h>
504 #include <GL/gl.h>
505 #include <GL/glext.h>
506 #include <GL/glu.h>
508 #include <graphics/clip.h>
509 #include <graphics/collide.h>
510 #include <graphics/copper.h>
511 #include <graphics/displayinfo.h>
512 #include <graphics/driver.h>
513 #include <graphics/gels.h>
514 #include <graphics/gfx.h>
515 #include <graphics/gfxbase.h>
516 #include <graphics/gfxmacros.h>
517 #include <graphics/gfxnodes.h>
518 #include <graphics/layers.h>
519 #include <graphics/layersext.h>
520 #include <graphics/modeid.h>
521 #include <graphics/monitor.h>
522 #include <graphics/rastport.h>
523 #include <graphics/regions.h>
524 #include <graphics/rpattr.h>
525 #include <graphics/scale.h>
526 #include <graphics/sprite.h>
527 #include <graphics/text.h>
528 #include <graphics/videocontrol.h>
529 #include <graphics/view.h>
531 #include <grp.h>
533 #include <hardware/ahci.h>
534 #include <hardware/blit.h>
535 #include <hardware/cia.h>
536 #include <hardware/cpu/cpu_i386.h>
537 #include <hardware/cpu/cpu_m68k.h>
538 #include <hardware/cpu/cpu_mpspec.h>
539 #include <hardware/cpu/cpu.h>
540 #include <hardware/cpu/memory.h>
541 #include <hardware/custom.h>
542 #include <hardware/intbits.h>
543 #include <hardware/pic/pic.h>
544 #include <hardware/uart.h>
545 #include <hardware/vbe.h>
547 #include <hidd/agp.h>
548 #include <hidd/config.h>
549 #include <hidd/gallium.h>
550 #include <hidd/graphics.h>
551 #include <hidd/hidd.h>
552 #include <hidd/i2c.h>
553 #include <hidd/keyboard.h>
554 #include <hidd/mouse.h>
555 #include <hidd/parallel.h>
556 #include <hidd/pci.h>
557 #include <hidd/serial.h>
558 #include <hidd/unixio.h>
560 #include <inetd.h>
561 #include <inttypes.h>
563 #include <intuition/cghooks.h>
564 #include <intuition/classes.h>
565 #include <intuition/classusr.h>
566 #include <intuition/extensions.h>
567 #include <intuition/gadgetclass.h>
568 #include <intuition/icclass.h>
569 #include <intuition/imageclass.h>
570 #include <intuition/intuition.h>
571 #include <intuition/intuitionbase.h>
572 #include <intuition/iobsolete.h>
573 #include <intuition/iprefs.h>
574 #include <intuition/menudecorclass.h>
575 #include <intuition/monitorclass.h>
576 #include <intuition/pointerclass.h>
577 #include <intuition/preferences.h>
578 #include <intuition/scrdecorclass.h>
579 #include <intuition/screens.h>
580 #include <intuition/sghooks.h>
581 #include <intuition/windecorclass.h>
583 #include <ioerr2errno.h>
584 #include <irda/irlap.h>
585 #include <iso646.h>
586 #include <jconfig.h>
587 #include <jerror.h>
588 #include <jinclude.h>
589 #include <jmorecfg.h>
590 #include <jpeglib.h>
591 #include <jversion.h>
592 #include <KHR/khrplatform.h>
593 #include <libcore/compiler.h>
594 #include <libgen.h>
596 #include <libraries/ahi_sub.h>
597 #include <libraries/amigaguide.h>
598 #include <libraries/arp.h>
599 #include <libraries/asl.h>
600 #include <libraries/bsdsocket.h>
601 #include <libraries/codesets.h>
602 #include <libraries/commodities.h>
603 #include <libraries/configregs.h>
604 #include <libraries/configvars.h>
605 #include <libraries/coolimages.h>
606 #include <libraries/cybergraphics.h>
607 #include <libraries/debug.h>
608 #include <libraries/desktop.h>
609 #include <libraries/diskfont.h>
610 #include <libraries/dos.h>
611 #include <libraries/dosextens.h>
612 #include <libraries/expansion.h>
613 #include <libraries/expansionbase.h>
614 #include <libraries/filehandler.h>
615 #include <libraries/gadtools.h>
616 #include <libraries/identify.h>
617 #include <libraries/iffparse.h>
618 #include <libraries/kms.h>
619 #include <libraries/locale.h>
620 #include <libraries/lowlevel_ext.h>
621 #include <libraries/lowlevel.h>
622 #include <libraries/mathffp.h>
623 #include <libraries/mathieeedp.h>
624 #include <libraries/mathieeesp.h>
625 #include <libraries/miami.h>
626 #include <libraries/miamipanel.h>
627 #include <libraries/mui.h>
628 #include <libraries/muiscreen.h>
629 #include <libraries/nonvolatile.h>
630 #include <libraries/openurl.h>
631 #include <libraries/partition.h>
632 #include <libraries/pm.h>
633 #include <libraries/poseidon.h>
634 #include <libraries/prometheus.h>
635 #include <libraries/realtime.h>
636 #include <libraries/reqtools.h>
637 #include <libraries/security.h>
638 #include <libraries/thread.h>
639 #include <libraries/usbclass.h>
640 #include <libraries/usergroup.h>
641 #include <libraries/uuid.h>
643 #include <limits.h>
644 #include <linklibs/coolimages.h>
645 #include <locale.h>
647 // There is an incompatibility between ANSI math and AROS math.
648 // Disabled for now to get rid of a lot of compiler errors.
649 //#include <math.h>
651 #include <memory.h>
653 #include <midi/camd.h>
654 #include <midi/camddevices.h>
655 #include <midi/mididefs.h>
657 #include <mui/BetterString_mcc.h>
658 #include <mui/Busy_mcc.h>
659 #include <mui/HotkeyString_mcc.h>
660 #include <mui/TextEditor_mcc.h>
661 #include <mui/TextEditor_mcp.h>
663 #include <net/if_arp.h>
664 #include <net/if_dl.h>
665 #include <net/if_llc.h>
666 #include <net/if_slvar.h>
667 #include <net/if_types.h>
668 #include <net/if.h>
669 #include <net/radix.h>
670 #include <net/route.h>
671 #include <net/sana2errno.h>
672 #include <netdb.h>
673 #include <netinet/icmp_var.h>
674 #include <netinet/in_pcb.h>
675 #include <netinet/in_systm.h>
676 #include <netinet/in_var.h>
677 #include <netinet/in.h>
678 #include <netinet/ip_icmp.h>
679 #include <netinet/ip_var.h>
680 #include <netinet/ip.h>
681 #include <netinet/tcp_var.h>
682 #include <netinet/tcp.h>
683 #include <netinet/udp_var.h>
684 #include <netinet/udp.h>
686 #include <oop/ifmeta.h>
687 #include <oop/oop.h>
688 #include <oop/static_mid.h>
690 #include <png.h>
691 #include <pngconf.h>
692 #include <pnglibconf.h>
694 #include <prefs/font.h>
695 #include <prefs/icontrol.h>
696 #include <prefs/input.h>
697 #include <prefs/locale.h>
698 #include <prefs/overscan.h>
699 #include <prefs/palette.h>
700 #include <prefs/pointer.h>
701 #include <prefs/prefhdr.h>
702 #include <prefs/printergfx.h>
703 #include <prefs/printerps.h>
704 #include <prefs/printertxt.h>
705 #include <prefs/screenmode.h>
706 #include <prefs/serial.h>
707 #include <prefs/sound.h>
708 #include <prefs/trackdisk.h>
709 #include <prefs/wanderer.h>
710 #include <prefs/wbpattern.h>
711 #include <prefs/workbench.h>
713 #include <process.h>
715 #include <proto/8svx.h>
716 #include <proto/Aboutmui.h>
717 #include <proto/AboutWindow.h>
718 #include <proto/ahi_sub.h>
719 #include <proto/ahi.h>
720 #include <proto/alib.h>
721 #include <proto/amigaguide.h>
722 #include <proto/aros.h>
723 #include <proto/aroscheckbox.h>
724 #include <proto/aroscycle.h>
725 #include <proto/aroslist.h>
726 #include <proto/aroslistview.h>
727 #include <proto/arosmutualexclude.h>
728 #include <proto/arospalette.h>
729 #include <proto/arossupport.h>
730 #include <proto/ascii.h>
731 #include <proto/asl.h>
732 #include <proto/Balance.h>
733 #include <proto/battclock.h>
734 #include <proto/battmem.h>
735 #include <proto/binary.h>
736 #include <proto/bmp.h>
737 #include <proto/Boopsi.h>
738 #include <proto/bootloader.h>
739 #include <proto/bsdsocket.h>
740 #include <proto/bullet.h>
741 #include <proto/Busy.h>
742 #include <proto/Calendar.h>
743 #include <proto/camd.h>
744 #include <proto/cardres.h>
745 #include <proto/cia.h>
746 #include <proto/Clock.h>
747 #include <proto/codesets.h>
748 #include <proto/Coloradjust.h>
749 #include <proto/Colorfield.h>
750 #include <proto/colorwheel.h>
751 #include <proto/commodities.h>
752 #include <proto/console.h>
753 #include <proto/coolimages.h>
754 #include <proto/Crawling.h>
755 #include <proto/cybergraphics.h>
756 #include <proto/datatypes.h>
757 #include <proto/debug.h>
758 #include <proto/Dirlist.h>
759 #include <proto/disk.h>
760 #include <proto/diskfont.h>
761 #include <proto/dos.h>
762 #include <proto/dtclass.h>
763 #include <proto/Dtpic.h>
764 #include <proto/egl.h>
765 #include <proto/exec_sysbase.h>
766 #include <proto/exec.h>
767 #include <proto/expansion.h>
768 #include <proto/Floattext.h>
769 #include <proto/freetype2.h>
770 #include <proto/gadtools.h>
771 #include <proto/gallium.h>
772 #include <proto/gameport.h>
773 #include <proto/gif.h>
774 #include <proto/glu.h>
775 #include <proto/gradientslider.h>
776 #include <proto/graphics.h>
777 #include <proto/hostlib.h>
778 #include <proto/html.h>
779 #include <proto/icon.h>
780 #include <proto/IconDrawerList.h>
781 #include <proto/IconImage.h>
782 #include <proto/IconList.h>
783 #include <proto/IconListview.h>
784 #include <proto/IconVolumeList.h>
785 #include <proto/identify.h>
786 #include <proto/iffparse.h>
787 #include <proto/ilbm.h>
788 #include <proto/input.h>
789 #include <proto/intuition.h>
790 #include <proto/jpeg.h>
791 #include <proto/kernel.h>
792 #include <proto/keymap.h>
793 #include <proto/kms.h>
794 #include <proto/Knob.h>
795 #include <proto/layers.h>
796 #include <proto/Levelmeter.h>
797 #include <proto/locale.h>
798 #include <proto/lowlevel.h>
799 #include <proto/mathffp.h>
800 #include <proto/mathieeedoubbas.h>
801 #include <proto/mathieeedoubtrans.h>
802 #include <proto/mathieeesingbas.h>
803 #include <proto/mathieeesingtrans.h>
804 #include <proto/mathtrans.h>
805 #include <proto/mesa.h>
806 #include <proto/miami.h>
807 #include <proto/miamipanel.h>
808 #include <proto/misc.h>
809 #include <proto/muimaster.h>
810 #include <proto/muiscreen.h>
811 #include <proto/nonvolatile.h>
812 #include <proto/nvdisk.h>
813 #include <proto/oop.h>
814 #include <proto/openurl.h>
815 #include <proto/oss.h>
816 #include <proto/Palette.h>
817 #include <proto/partition.h>
818 #include <proto/picture.h>
819 #include <proto/pngdt.h>
820 #include <proto/pnm.h>
821 #include <proto/Popasl.h>
822 #include <proto/Popframe.h>
823 #include <proto/Popimage.h>
824 #include <proto/Poplist.h>
825 #include <proto/Poppen.h>
826 #include <proto/Popscreen.h>
827 #include <proto/popupmenu.h>
828 #include <proto/potgo.h>
829 #include <proto/PrefsEditor.h>
830 #include <proto/PrefsWindow.h>
831 #include <proto/processor.h>
832 #include <proto/prometheus.h>
833 #include <proto/Radio.h>
834 #include <proto/ramdrive.h>
835 #include <proto/realtime.h>
836 #include <proto/reqtools.h>
837 #include <proto/rexxsupport.h>
838 #include <proto/rexxsyslib.h>
839 #include <proto/Scrollgroup.h>
840 #include <proto/Settingsgroup.h>
841 #include <proto/socket.h>
842 #include <proto/sound.h>
843 #include <proto/SystemPrefsWindow.h>
844 #include <proto/text.h>
845 #include <proto/timer.h>
846 #include <proto/translator.h>
847 #include <proto/utility.h>
848 #include <proto/uuid.h>
849 #include <proto/vega.h>
850 #include <proto/version.h>
851 #include <proto/Virtgroup.h>
852 #include <proto/Volumelist.h>
853 #include <proto/wb.h>
854 #include <proto/workbench.h>
856 #include <pwd.h>
857 #include <regex.h>
859 #include <resources/battclock.h>
860 #include <resources/card.h>
861 #include <resources/cia.h>
862 #include <resources/disk.h>
863 #include <resources/filesysres.h>
864 #include <resources/isapnp.h>
865 #include <resources/misc.h>
866 #include <resources/potgo.h>
867 #include <resources/processor.h>
869 #include <rexx/errors.h>
870 #include <rexx/rexxcall-m68k.h>
871 #include <rexx/rexxcall.h>
872 #include <rexx/rxslib.h>
873 #include <rexx/storage.h>
875 #include <scsi/commands.h>
876 #include <scsi/values.h>
878 #include <sdgstd.h>
880 #include <SDI/SDI_compiler.h>
881 #include <SDI/SDI_hook.h>
882 #include <SDI/SDI_interrupt.h>
883 #include <SDI/SDI_lib.h>
884 #include <SDI/SDI_misc.h>
885 #include <SDI/SDI_stdarg.h>
887 #include <setjmp.h>
888 #include <signal.h>
889 #include <stdbool.h>
890 #include <stdint.h>
891 #include <stdio.h>
892 #include <stdlib.h>
893 #include <string.h>
894 #include <strings.h>
896 #include <sys/_types.h>
897 #include <sys/arosc.h>
898 #include <sys/cdefs.h>
899 #include <sys/errno.h>
900 #include <sys/file.h>
901 #include <sys/fs_types.h>
902 #include <sys/ioctl.h>
903 #include <sys/mount.h>
904 #include <sys/net_types.h>
905 #include <sys/param.h>
906 #include <sys/queue.h>
907 #include <sys/signal.h>
908 #include <sys/socket.h>
909 #include <sys/sockio.h>
910 #include <sys/stat.h>
911 #include <sys/syscall.h>
912 #include <sys/syslog.h>
913 #include <sys/time.h>
914 #include <sys/timeb.h>
915 #include <sys/times.h>
916 #include <sys/types.h>
917 #include <sys/uio.h>
918 #include <sys/un.h>
919 #include <sys/unistd.h>
920 #include <sys/utsname.h>
921 #include <sys/wait.h>
922 #include <sysexits.h>
923 #include <syslog.h>
925 #include <termios.h>
926 #include <time.h>
928 //disabled because it redefines some AROS types
929 //#include <toollib/callback.h>
930 //#include <toollib/error.h>
931 //#include <toollib/filesup.h>
932 //#include <toollib/hash.h>
933 //#include <toollib/lineparser.h>
934 //#include <toollib/mystream.h>
935 //#include <toollib/stdiocb.h>
936 //#include <toollib/stringcb.h>
937 //#include <toollib/toollib.h>
938 //#include <toollib/vstring.h>
940 #include <ucontext.h>
941 #include <unistd.h>
943 #include <usb/hid.h>
944 #include <usb/storage.h>
945 #include <usb/usb_core.h>
946 #include <usb/usb.h>
948 #include <utility/date.h>
949 #include <utility/hooks.h>
950 #include <utility/name.h>
951 #include <utility/pack.h>
952 #include <utility/tagitem.h>
953 #include <utility/utility.h>
955 #include <utime.h>
956 #include <values.h>
958 #include <VG/openvg.h>
959 #include <VG/vgext.h>
960 #include <VG/vgplatform.h>
961 #include <VG/vgu.h>
963 #include <wchar.h>
964 #include <wctype.h>
966 #include <workbench/handler.h>
967 #include <workbench/icon.h>
968 #include <workbench/startup.h>
969 #include <workbench/workbench.h>
971 #include <zconf.h>
972 #include <zlib.h>
974 #include <zune/aboutwindow.h>
975 #include <zune/calendar.h>
976 #include <zune/clock.h>
977 #include <zune/customclasses.h>
978 #include <zune/iconimage.h>
979 #include <zune/loginwindow.h>
980 #include <zune/prefseditor.h>
981 #include <zune/prefswindow.h>
982 #include <zune/systemprefswindow.h>
984 #include <zutil.h>
986 int main(void)
988 return 0;