Re: [protobuf] Re: 1 failed test, CommandLineInterfaceTest.GeneratorPluginNotFound

2010-02-08 Thread Kenton Varda
On Mon, Feb 8, 2010 at 3:59 PM, idleman  wrote:

> hehe no, xxx = "The system cannot find the file specified" on Swedish:
> "Det går inte att hitta filen" , I have a Swedish installation of
> windows,  I assumed it would not do any help so I just removed it.
>

Ah, then the problem is simply that the tests don't account for non-english
error messages.  The test is trying to verify that the expected error is
generated, but it does so by comparing against an English string.  Sorry
about that.  You can ignore it, or if you feel ambitious, figure out how we
can make the test locale-independent.

Sounds like everything is working fine.

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.



Re: [protobuf] Re: 1 failed test, CommandLineInterfaceTest.GeneratorPluginNotFound

2010-02-08 Thread Kenton Varda
On Mon, Feb 8, 2010 at 1:35 PM, idleman  wrote:

> c:\protobuf-2.3.0\src\google\protobuf\compiler
> \command_line_interface_unittest.cc(341): error: Value of:
> expected_substring
>  Actual: "--badplug_out: prefix-gen-badplug: The system cannot find
> the file specified."
> Expected: a substring of error_text_
> Which is: "--badplug_out: prefix-gen-badplug: xxx.
>

Did it really say "xxx"?  This is very strange because the string "xxx" does
not appear anywhere in the protobuf source code, so I have no idea where it
would come from.


> But I think is it something wrong with my installation of visual
> express because when I tries to rebuild protobuf again I got massive
> with warnings like:
> warning LNK4204: 'c:\protobuf-2.3.0\vsprojects\Debug\vc90.pdb' is
> missing debugging information for referencing module; linking object
> as if no debug info
>
> In same time does the compiler generate some errors (PRJ0008) because
> the directory is not writable even if I am 100% sure it is. I have
> some memory that I have already have this problem before, but I don't
> remember how I did fix it (please tell me if you know). But the
> strange thing is that I can compile boost without any problems.
>
> But this problem have probably nothing to do about protobuf, so I
> should probably not write it here anyway. But thanks anyway.
>

These warnings/errors happen when you let MSVC compile multiple projects in
parallel, which happens automatically if you have multiple CPUs.  Apparently
the compiler is not designed to run in parallel with other compiles
happening in the same directory.  I don't know why MSVC automatically tries
to compile in parallel when it clearly doesn't work.  Usually, though, you
can just try to build again if it fails, and eventually it will get through
everything.

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.