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/molecule.cpp

    r247d49 re6fe8a  
    44 *
    55 */
     6
     7#include <cstring>
    68
    79#include "atom.hpp"
     
    587589  else
    588590    molname = filename; // contains no slashes
    589   char *endname = strchr(molname, '.');
     591  const char *endname = strchr(molname, '.');
    590592  if ((endname == NULL) || (endname < molname))
    591593    length = strlen(molname);
Note: See TracChangeset for help on using the changeset viewer.