Changeset 466


Ignore:
Timestamp:
Feb 3, 2014 8:46:56 AM (7 years ago)
Author:
kulshres
Message:

using variable sized arrays without c99 isn't possible

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

Location:
trunk/ADOL-C/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ADOL-C/src/taping.c

    r448 r466  
    15961596/* --- Operations --- */
    15971597
     1598#if defined(__USE_ISOC99)
    15981599const int maxLocsPerOp=10;
     1600#endif
    15991601
    16001602/****************************************************************************/
  • trunk/ADOL-C/src/taping_p.h

    r441 r466  
    205205 * maximal number of locations writen per op code
    206206 */
     207#if defined(__USE_ISOC99)
    207208extern const int maxLocsPerOp;
     209#else
     210#define maxLocsPerOp 10
     211#endif
    208212
    209213typedef struct TapeInfos {
Note: See TracChangeset for help on using the changeset viewer.