Skip to Main Content

Berkeley DB Family

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

use "db_cxx.h" in project. build error:too many arguments provided to function-like macro invocation

3334171Nov 28 2016 — edited Nov 28 2016

In my Mac my code is:

#import <Foundation/Foundation.h>

#include "db_cxx.h"

int main(int argc, const char * argv[]) {

[@autoreleasepool](https://forums.oracle.com/ords/apexds/user/autoreleasepool) {

return 0;

}

when i run, there are some errors:

pastedImage_1.png

environment:

Max OSX(10.11) Xcode8.0

what is happend about it, please give me some direct ?

This post has been answered by userBDBDMS-Oracle on Nov 28 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 26 2016
Added on Nov 28 2016
4 comments
751 views