3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-19 10:29:30 +01:00

Minor cosmetic refactoring of C11 language

This commit is contained in:
Pragmatic Software 2015-04-16 03:10:45 -07:00
parent 766e433d33
commit c4659cd4cb

View File

@ -11,7 +11,7 @@ sub initialize {
$self->{sourcefile} = 'prog.c';
$self->{execfile} = 'prog';
$self->{default_options} = '-Wextra -Wall -Wno-unused -pedantic -Wfloat-equal -Wshadow -std=c11 -lm -Wfatal-errors -fsanitize=bounds -fsanitize=alignment -fsanitize=undefined';
$self->{default_options} = '-Wextra -Wall -Wno-unused -pedantic -Wfloat-equal -Wshadow -std=c11 -lm -Wfatal-errors -fsanitize=alignment,undefined';
$self->{options_paste} = '-fdiagnostics-show-caret';
$self->{options_nopaste} = '-fno-diagnostics-show-caret';
$self->{cmdline} = 'gcc -ggdb -g3 $sourcefile $options -o $execfile';
@ -22,11 +22,8 @@ sub initialize {
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <math.h>
#include <limits.h>
#include <sys/types.h>
#include <stdint.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdarg.h>
@ -48,6 +45,9 @@ sub initialize {
#include <iso646.h>
#include <signal.h>
#include <uchar.h>
#include <stdint.h>
#include <unistd.h>
#include <sys/types.h>
#include <prelude.h>
END