Ignore:
Timestamp:
Jan 10, 2010, 7:05:34 PM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
2c69a9
Parents:
247d49
Message:

cstring header was missing in files, supplying definition of strlen, strcpy, and so on.

This was noted on laptop with gcc 4.1 (on workstation we have gcc 4.2)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/config.cpp

    r247d49 re6fe8a  
    66
    77#include <stdio.h>
     8#include <cstring>
    89
    910#include "atom.hpp"
     
    2728    char number1[8];
    2829    char number2[8];
    29     char *dummy1, *dummy2;
     30    const char *dummy1, *dummy2;
    3031    //Log() << Verbose(0) << s1 << "  " << s2 << endl;
    3132    dummy1 = strchr(s1, '_')+sizeof(char)*5;  // go just after "Ion_Type"
     
    21232124              }
    21242125              line++;
    2125             } while (dummy1 != NULL && (dummy1[0] == '#') || (dummy1[0] == '\n'));
     2126            } while ((dummy1 != NULL) && ((dummy1[0] == '#') || (dummy1[0] == '\n')));
    21262127            dummy = dummy1;
    21272128          } else { // simple int, strings or doubles start in the same line
Note: See TracChangeset for help on using the changeset viewer.