Reputation: 532
i use xcode to write a c command line program,but i found the jump to define is not work well for the stand lib,i record a picture to show what happen,is that normal with xcode?
//
// main.c
// 0.4 xCodecantjump
//
// Created by Sen on 14-5-19.
// Copyright (c) 2014年 SLboat. All rights reserved.
//
#include <stdio.h>
#include <limits.h>
#include "main.h"
int main(int argc, const char * argv[])
{
int a = INT_MAX;
int c = INT_MIN;
int b = START;
// insert code here...
printf("some int: %d, %d, %d\n", a, c ,b);
return 0;
}
Upvotes: 3
Views: 1329
Reputation: 4272
I suspect it is some kind of ObjC optimization.
Switching to C++ Source compilation solved this problem (with rebuild).
Upvotes: 3