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
 All Forums
 Origin Forum
 Origin Forum
 No feedback macro defined

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
ofolilab Posted - 04/10/2005 : 12:31:23 PM
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
1   L A T E S T    R E P L I E S    (Newest First)
cpyang Posted - 04/11/2005 : 6:48:57 PM
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




The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000