Changeset fb0d9a in git


Ignore:
Timestamp:
Sep 12, 2008, 4:13:43 PM (16 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
0007379bc6256aabf4e5ad04c01f5c36d37561f7
Parents:
713bdb41dced653d5201d807fbc9fc0960af406b
Message:
*hannes: __attribute__


git-svn-id: file:///usr/local/Singular/svn/trunk@11046 2c84dea3-7e68-4137-9b89-c4e89433aadc
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • Singular/mod2.h.in

    r713bdb rfb0d9a  
    66 *          DO NOT EDIT!
    77 *
    8  *  Version: $Id: mod2.h.in,v 1.135 2008-08-12 10:08:52 Singular Exp $
     8 *  Version: $Id: mod2.h.in,v 1.136 2008-09-12 14:13:43 Singular Exp $
    99 *******************************************************************/
    1010#ifndef MOD2_H
     
    652652#endif
    653653
     654/* If we're not using GNU C, elide __attribute__ */
     655#ifndef __GNUC__
     656#  define  __attribute__(x)  /*NOTHING*/
     657#endif
    654658
    655659#endif /* MOD2_H  */
  • kernel/febase.h

    r713bdb rfb0d9a  
    44*  Computer Algebra System SINGULAR     *
    55****************************************/
    6 /* $Id: febase.h,v 1.13 2008-09-10 09:06:37 Singular Exp $ */
     6/* $Id: febase.h,v 1.14 2008-09-12 14:13:32 Singular Exp $ */
    77/*
    88* ABSTRACT: basic i/o
     
    112112#endif
    113113
    114 void    Werror(const char *fmt, ...);
     114void    Werror(const char *fmt, ...) __attribute__((format(printf,1,2)));
    115115void    WerrorS(const char *s);
    116116void    WarnS(const char *s);
    117 void    Print(const char* fmt, ...);
     117void    Print(const char* fmt, ...) __attribute__((format(printf,1,2)));
    118118/* Print should not produce more than strlen(fmt)+510 characters! */
    119119
  • kernel/mod2.h.in

    r713bdb rfb0d9a  
    66 *          DO NOT EDIT!
    77 *
    8  *  Version: $Id: mod2.h.in,v 1.26 2008-08-12 10:08:52 Singular Exp $
     8 *  Version: $Id: mod2.h.in,v 1.27 2008-09-12 14:13:32 Singular Exp $
    99 *******************************************************************/
    1010#ifndef MOD2_H
     
    652652#endif
    653653
     654/* If we're not using GNU C, elide __attribute__ */
     655#ifndef __GNUC__
     656#  define  __attribute__(x)  /*NOTHING*/
     657#endif
    654658
    655659#endif /* MOD2_H  */
  • kernel/structs.h

    r713bdb rfb0d9a  
    44*  Computer Algebra System SINGULAR     *
    55****************************************/
    6 /* $Id: structs.h,v 1.55 2008-08-18 12:25:35 Singular Exp $ */
     6/* $Id: structs.h,v 1.56 2008-09-12 14:13:32 Singular Exp $ */
    77/*
    88* ABSTRACT
     
    729729extern "C" {
    730730#endif
    731 void  m2_end(int i);
     731void  m2_end(int i) __attribute__((noreturn));
    732732#ifdef __cplusplus
    733733}
Note: See TracChangeset for help on using the changeset viewer.