Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit 3822d73

Browse files
committed
fix DEBUG
1 parent 3c07e7b commit 3822d73

File tree

3 files changed

+3
-16
lines changed

3 files changed

+3
-16
lines changed

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ COMMONFLAGS:=-O2 -ggdb -Wall -Wextra -Wundef -Wshadow -Wpointer-arith -Wcast-ali
3030
-Wno-discarded-qualifiers -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS \
3131
-fstack-clash-protection -grecord-gcc-switches -fcf-protection -pipe \
3232
-Werror=format-security -Werror=implicit-function-declaration -Wl,-z,defs \
33-
-Wl,-z,relro \
34-
-D DEBUG #Comentar esta linea para eliminar mensajes extra
33+
-Wl,-z,relro
3534
# Opciones solo para C
3635
CFLAGS=$(COMMONFLAGS)
3736
# Opciones solo para C++

src/include/LSS.h

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
#ifndef LSS_H
22
#define LSS_H
33

4-
#ifdef DEBUG
5-
#undef DEBUG
6-
#define DEBUG true
7-
#else
8-
#define DEBUG false
9-
#endif
4+
#define DEBUG 0
105

116
// Librería estándar que incluye el tipo de dato booleano
127
#include <stdbool.h>

src/main.c

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
/*\
44
* TRABAJO PRÁCTICO TRANSVERSAL - TEORÍA DE LA COMPUTACIÓN I
55
*
6-
* @ Ezequiel Lizandro Dzioba
7-
*
86
* PARTE 1
97
* 1) Cargar un autómata finito "por partes": primero el conjunto de estados,
108
* luego el alfabeto y así (la transición de estados cargarla por terna).
@@ -43,12 +41,7 @@
4341

4442
// PRECOMPILADOR ///////////////////////////////////////////////////////////////
4543

46-
#ifdef DEBUG
47-
#undef DEBUG
48-
#define DEBUG true
49-
#else
50-
#define DEBUG false
51-
#endif
44+
#define DEBUG 0
5245

5346
#include <stdio.h> // Entrada y salida estándar
5447
#include <stdlib.h> // Librería general estándar

0 commit comments

Comments
 (0)