Skip to Main Content

DevOps, CI/CD and Automation

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!

compat=4 and #include<string>

807575Jun 28 2000
I am trying to build a project that uses string and wstring out of #include <string>, but because I am using Orbix 3 corba middleware I am having uses compatibility mode compat=4. This gives me the following error:

"/opt/SUNWspro/SC5.0/include/CC/./new", line 32: Error: The prior declaration for operator new(unsigned) has no exception specification.
"/opt/SUNWspro/SC5.0/include/CC/./new", line 34: Error: The prior declaration for operator delete(void *) has no exception specification.
"/opt/SUNWspro/SC5.0/include/CC/./new", line 36: Error: The prior declaration for operator new[](unsigned) has no exception specification.
"/opt/SUNWspro/SC5.0/include/CC/./new", line 32: Error: The prior declaration for operator delete[](unsigned) has no exception specification.

I was expecting to have to use new.h for compat=4, but <string> includes <rw/string_ref> which includes <memory> which includes <new>. Does this mean that I cannot use <string>?

My compile options are:
-compat=4 -library=rwtools7 -features=%none,bool,namespace,except,mutable

Thanks in advance,
Damian

Comments

InoL

The free tier doesn't have email. That "one blog" probably describes how to set it up when you have a paid account, or you are still in the trial period with $300 credit.

Kinjan Bhavsar

Hi @inol ,
Is there a workaround to use this or I need to install the same application in apex.oracle.com and try sending email?

InoL

The workaround is to switch to a paid account. If you don't use any of the other paid features, email is very cheap. If I remember correctly $0.01 per 1000 emails.
For demo purposes only, you can try email on apex.oracle.com.

Kinjan Bhavsar

Thanks @inol .
Could you please suggest the second issue related to permissions? I exported the application from one instance and tried to install it in the 2nd instance but it's giving a security error.

InoL

Exporting an application does not export any related data. Maybe that is your problem? Login as ADMIN and double check.

Kinjan Bhavsar

Thanks @inol
I have few more questions regarding emails, if I install db machine and apex on localhost in my windows system using the built in VirtualBox that oracle is providing for developers, will I be able to send emails using APEX_MAIL.SEND and will I be able to configure personal SMTP details?

AndyH

You can send emails this way.
You would need to tell Oracle APEX installation which SMTP server, username, password etc. to use and may involve downloading certificates to a wallet.

1 - 7
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jul 26 2000
Added on Jun 28 2000
0 comments
106 views