Share

Sunifdef

Code

Programming Languages: C

License: BSD License

Repositories

browse code, statistics, last commit on 2006-06-29 cvs -d:pserver:anonymous@sunifdef.cvs.sourceforge.net:/cvsroot/sunifdef login

cvs -z3 -d:pserver:anonymous@sunifdef.cvs.sourceforge.net:/cvsroot/sunifdef co -P modulename

Show:

What's happening?

  • Comment: Filter option seems to act unexpectedly

    Fixed in v3.1.1, DEF0038.

    2008-02-08 18:00:32 UTC by imkinghan

  • Comment: constant parse error

    v3.1.3 understands u/l suffixes on integer constants. However constants that will be resolved are limited to values no greater than INT_MAX on account of implementation shortcomings yet to be fixed. Constants exceeding that value will be left unresolved with a warning to that effect.

    2008-02-08 17:58:11 UTC by imkinghan

  • constant parse error

    Sunifdef fails to parse code containig constants with suffixes (U, L etc) for example this file: # if (UINT_MAX == 0xffffffffUL) typedef unsigned int u4; # endif produce error message sunifdef.exe: error 0x043b0: Missing ")" in "# if (UINT_MAX == 0xffffffffUL)" Problem was found with Sunifdef win32 v.3.1.2. It works fine if UL suffix is removed in the sample above.

    2008-01-24 18:17:05 UTC by nobody

  • Filter option seems to act unexpectedly

    --filter EXT1[,EXT2...] Process only input files that have one of the file extensions EXT1,EXT2... This function seems to be implemented in a unintuitive way with respect to this documentation. If I specify --filter c,h then files with the extension pch are being included, which is clearly not what I was attempting to do. The implementation seems to view this as a filter for the filename...

    2007-03-13 00:02:44 UTC by surye

  • Comment: Logical operators in #iif's give wrong result

    Bug report submitted in error. Closed. MK.

    2006-12-31 10:56:26 UTC by imkinghan

  • Comment: Logical operators in #iif's give wrong result

    This is not a bug! If the operator would have been && then the output should have been (and is!) as specified above. Unfortunately I had not my head screwed on correcly when filing this report. Sorry for the confusion. /BR Jan.

    2006-12-02 20:55:34 UTC by docekal

  • Comment: Logical operators in #iif's give wrong result

    Sorry forgot one command above C:\bin>sunifdef.exe --version sunifdef.exe, version 2.1.2 for Windows (built Jul 21 2006, 20:30:24) sunifdef.exe: Completed, exit code 0x0000.

    2006-12-01 12:35:27 UTC by nobody

  • Logical operators in #iif's give wrong result

    jan@lindaker.se The commands below produces the following result C:\bin>more C:\TEMP\sunifdeftest.c #if defined(REMOVE) || defined (KEEP) a++;// code #endif #if defined(REMOVE) a++; // more code #endif #if defined(KEEP) a++; // more code #endif C:\bin>sunifdef.exe -DREMOVE c:\TEMP\sunifdeftest.c a++;// code a++; // more code #if defined(KEEP) a++; // more code...

    2006-12-01 12:33:09 UTC by nobody

  • Sunifdef version 2.1.2 (stable) released

    Two errors in compiling to the C89 standard are fixed, as are warnings provoked by "warn_unused_result" declarations and by building to 64-bit.

    2006-07-22 17:59:41 UTC by imkinghan

  • Sunifdef

    Anonymous committed patchset 1 of module CVSROOT to the Sunifdef CVS repository, changing 11 files.

    2006-06-29 21:11:32 UTC by nobody

Our Numbers