Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KSCrashReport.c:1996:67: error: conflicting types for 'time' #52

Closed
crossle opened this issue Jul 27, 2015 · 3 comments
Closed

KSCrashReport.c:1996:67: error: conflicting types for 'time' #52

crossle opened this issue Jul 27, 2015 · 3 comments

Comments

@crossle
Copy link

crossle commented Jul 27, 2015

Pods/Bugsnag/KSCrash/Source/KSCrash/Recording/KSCrashReport.c:1996:67: error: conflicting types for 'time'
242         writer->addIntegerElement(writer, KSCrashField_Timestamp, time(NULL));                                                                                                                                                      
243                                                                   ^                                                             
244 In module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk/usr/include/sys/_structs.h:29:
245 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk/usr/include/time.h:116:8: note: previous declaration is here
246 time_t time(time_t *);                                                                                                          
247        ^                                                                                                                        
248 1 error generated.    
@crossle
Copy link
Author

crossle commented Aug 11, 2015

How about this?

@crossle
Copy link
Author

crossle commented Aug 12, 2015

Version 4.0.7

@crossle
Copy link
Author

crossle commented Mar 17, 2016

/Pods/KSCrash/Source/KSCrash/Recording/KSCrashReport.c:1998:67: Declaration of 'time' must be imported from module 'Darwin.C.time' before it is required

still have this error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant