wiln / protoc-gen-as3

Automatically exported from code.google.com/p/protoc-gen-as3
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

No constructor in code generated for messages with extensions causes compiler warning #13

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run protoc with the protoc-gen-as3 plug-in
2. Compile the generated code with the Flex 4 SDK compiler
3. Observe the warning described below

What is the expected output? What do you see instead?

Here is an example of the message:
[WARNING] C:\...\Projects\foo\src\main\flex\protocol\MapInfoMessage.as:[10,21] 
No constructor function was specified for class MapInfoMessage.        public 
final class MapInfoMessage extends com.netease.protobuf.Message implements 
flash.utils.IExternalizable {

What version of the product are you using? On what operating system?

0.8.8

Please provide any additional information below.

Original issue reported on code.google.com by dan.pa...@gmail.com on 23 Jul 2010 at 7:09

Attachments:

GoogleCodeExporter commented 8 years ago
-warn-no-constructor is not a default option for Flex 4 SDK compiler.

Original comment by pop.atry@gmail.com on 24 Jul 2010 at 2:56