Ignore:
Timestamp:
Apr 24, 2008, 1:52:02 PM (17 years ago)
Author:
Frederik Heber <heber@…>
Children:
bd7b85
Parents:
054af7
Message:

added --enable-optimization, thrown -g -O specifics out of Makefile.am's

--enable-optimization is added to each configure.ac and is linked with --enable-debug (no debug and optimization at the same time, debug is normally off and -O2 on), implemented via C(XX)FLAGS
Henceforth, -g, -O and -cc=... specifics are thrown out of the Makefile.am's, so that the optimiziation and debugging is streamlined throughout the whole package

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/helpers.hpp

    r054af7 rda83f8  
    2222
    2323/********************************************** helpful functions *********************************/
     24
     25// taken out of TREMOLO
     26/*@-namechecks@*/
     27#ifndef __GNUC__
     28# undef __attribute__
     29# define __attribute__(x)
     30#endif
     31/*@=namechecks@*/
     32
     33/* Behandelt aufgetretene Fehler. error ist der Fehlertyp(enum Errors)
     34   void *SpecialData ist ein untypisierter Zeiger auf Spezielle Daten zur Fehlerbehandlung.
     35   Man koennte auch noch einen Zeiger auf eine Funktion uebergeben */
     36extern void /*@exits@*/ debug(const char *output);
     37  //__attribute__ ((__return__));
     38#define debug(data) debug_in((data), __FILE__, __LINE__)
     39
     40extern void /*@exits@*/ debug_in(const char *output,
     41    const char *file, const int line);
     42  //__attribute__ ((__return__));
    2443
    2544double ask_value(const char *text);
Note: See TracChangeset for help on using the changeset viewer.