The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 No feedback macro defined
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

ofolilab

USA
Posts

Posted - 04/10/2005 :  12:31:23 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 7.5
Operating System: 2000

Hi,
I have been creating my own user defined functions for fitting my data, and they work well. The only question I had was, when I compile the data using Origin C, it says "no feedback macro defined". My data fits well, so I just wanted to know what this feedback macro was, and whether it would affect any of my results.

Thanks
Sachin

cpyang

USA
1406 Posts

Posted - 04/11/2005 :  6:48:57 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
That message is not an indication of any error. It was just a compiler message about some debugging macros not defined so that those debug macros cannot be used in your code. See

OriginC\system\common.h

 
#ifdef _FEEDBACK
#pragma message("FEEDBACK macros defined")
#define FEEDBACK_STR(str) {string _str(str); _str.WriteLine(WRITE_COMPILER_OUTPUT);}
#define FEEDBACK_INT(n) {string _str; _str.Format("%d", n); _str.WriteLine(WRITE_COMPILER_OUTPUT);}
#define FEEDBACK_DBL(d) {string _str; _str.Format("%f", d); _str.WriteLine(WRITE_COMPILER_OUTPUT);}
#define FEEDBACK_STRSTR(sz,str) {string _str; _str.Format("%s = %s", sz, str); _str.WriteLine(WRITE_COMPILER_OUTPUT);}
#define FEEDBACK_STRINT(sz,n) {string _str; _str.Format("%s = %d", sz, n); _str.WriteLine(WRITE_COMPILER_OUTPUT);}
#define FEEDBACK_STRDBL(sz,d) {string _str; _str.Format("%s = %f", sz, d); _str.WriteLine(WRITE_COMPILER_OUTPUT);}
#else // !_FEEDBACK
#pragma message("FEEDBACK macros not defined")
#define FEEDBACK_STR(str)
#define FEEDBACK_INT(n)
#define FEEDBACK_DBL(d)
#define FEEDBACK_STRSTR(sz,str)
#define FEEDBACK_STRINT(sz,n)
#define FEEDBACK_STRDBL(sz,d)
#endif // !_FEEDBACK




We should probably hide that message in future version to avoid the confusion.


CP



Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000