Code::Blocks <limits.h> issue

Code::Blocks <limits.h> issue

Post by Sector on Sat Aug 28, 2010 7:17 pm
([msg=44480]see Code::Blocks <limits.h> issue[/msg])

I'm having a bit of a problem when using <limits.h> in Code::Blocks.
The values for UINT_MAX and ULONG_MAX are returning as -1. Has anyone else experienced this, or should I just change compilers? Or has lack of caffeine / sleep gotten to me and I'm missing something here?...

Any input appreciated.

Sector

-- Mon Sep 13, 2010 7:51 am --

Since posting this thread I've switched to using OpenBSD ( with Vi and the built in C compiler ) and am no longer having this issue. Unfortunately, I did not find a solution to the why this was happening with Code::Blocks.

@Mods: Seeing as this thread contains little or no useful information, go ahead and lock / delete / move this thread if you like.
Sector
New User
New User
 
Posts: 30
Joined: Mon Jul 19, 2010 5:58 am
Blog: View Blog (0)


Return to C and C++

Who is online

Users browsing this forum: No registered users and 0 guests

cron