title: unrecognized debugging option: 1 [enabled by default]
body: <p>I am writing a cross-platform gtk application for Windows and linux in C. Today I came across the strange compiler error in the title (which I have never seen before). </p>
  
  <p>This happens when I build my program in Windows, but not in Linux. When I build it in Windows via command line, this message shows up as a warning and the program compiles successfully. However, when I build it in Code Blocks, this message shows up as an error and it does not compile. </p>
  
  <p>Here is what is in my makefile:</p>
  
  <pre><code>ifeq ($(OS),Windows_NT)
      CC = mingw32-gcc
      BIN = "bin\"
      DIRCHK = if exist bin rd /s /q bin
      CPGLADE = copy main_win.glade bin\Release
      RM = rmdir /S /Q bin
      SQLITE = -dll sqlite3.dll
      DLL = copy /Y sqlite3.dll bin\Debug &amp;&amp; copy /Y sqlite3.dll bin\Release
  else
      CC = gcc
      BIN = -vp bin/
      RM = rm -rf bin
      SQLITE = -l sqlite3 -ldl -lpthread
      DLL = rm -f sqlite3.dll
  endif
  
  SHELL = bash
  
  GTK := $(shell pkg-config --cflags --libs gtk+-3.0)
  
  CFLAGS := -g -Wall -static-libgcc -lm $(GTK) $(SQLITE)
  
  TARGET = deans2
  
  all:
      $(DIRCHK)
      mkdir $(BIN)Debug
      mkdir $(BIN)Release
      $(CPGLADE)
      $(CC) main.c $(CFLAGS) -o bin/Release/$(TARGET)
      $(DLL)
  
  Debug:
      $(DIRCHK)
      mkdir $(BIN)Debug
      $(CPGLADE)
      $(CC) main.c $(CFLAGS) -o bin/Debug/$(TARGET)
      $(DLL)
  
  Release:
      $(DIRCHK)
      mkdir $(BIN)Release
      $(CPGLADE)
      $(CC) main.c $(CFLAGS) -o bin/Release/$(TARGET)
      $(DLL)
  
  clean:
      $(RM)
  </code></pre>